Hi!
i want ADD empty row in DataGridView............Like Thisc9c3e54a6d28a6b686c9dcd1954b1f77 !
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

Here's one way

For r As Integer = 1 To CInt(txtNumRows.Text)
    dgvMyGrid.Rows.Add(New DataGridViewRow)
Next

Thank you very much..........."Reverend-Jim"

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.