Wednesday, March 07, 2012 6:54 AMhow to insert new row in the last row have data in data grid view
Wednesday, March 07, 2012 7:36 AM
That is completely depending from how you have populated (added rows to) your datagridview
So show us something around that. In the way your current question is, you can get 50 replies from which no one fits.
Wednesday, March 07, 2012 7:45 AM
Wednesday, March 07, 2012 8:51 AMYes Cor is right, give us detail, like how you fill DGV, is DGV in Edit mode or not.
Art Of Living Is Art Of Giving
Wednesday, March 07, 2012 10:41 AM
If I ask this kind of question I mean, how did you do it using code or by using the designer and then from what class it is populated (database, entity framework or whatever).
Showing a part of the populated datagridview does not show anything, beside that I see you write normally in that from right to left.
Thursday, March 08, 2012 8:10 AMModerator
Welcome to the MSDN forum.
If you’re trying to add new row to DGV by codes, you can create a new row then set values to each cell and then add the row to DGV. I’d suggest check the related link: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/969fc761-d115-4772-aa72-a5f70e0442d7/ .
If your DGV was bound to data source, you want to add new row and update it to data source. Please check this link : http://social.msdn.microsoft.com/Forums/en/csharplanguage/thread/8db841fc-ffa7-4519-b6f5-d054c7190948
If I misunderstood anything, please feel free and feedback. I’d appreciate it if you could provide more detailed information about your project.
MSDN Community Support | Feedback to us
- Marked As Answer by Shanks ZenMicrosoft Contingent Staff, Moderator Thursday, March 15, 2012 3:36 AM