|
-
May 12th, 2009, 02:43 AM
#1
Inserting a new row in datagridview
I have a datagridview which is not bounded with any datasource.
I have a Button.
I want to add a new row to my datagridview on the button click.
I tried the code:
dgv.rows.add()
and also
dgv.rows.insert[index]
but in both case the the row is being added to the row before last.
Can any one help me??
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|