Hi!
i want ADD empty row in DataGridView............Like This !
When user enter Number in textbox and click button then Add empty rows(as per user input number in textbox) in DataGridView..........
for example :-
if user entered "5" in textbox and click button then "5" empty rows will be created........
Please Help As Soon As Possible:::: THANK YOU in ADVANCE
hhm_pro992
0
Newbie Poster
Recommended Answers
Jump to PostHere's one way
For r As Integer = 1 To CInt(txtNumRows.Text) dgvMyGrid.Rows.Add(New DataGridViewRow) Next
All 2 Replies
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
hhm_pro992
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.