Friday, 23 August 2013

How to Insert Data in Database through DataGridView in Windows Form Application C#

How to Insert Data in Database through DataGridView in Windows Form
Application C#

I am making a windows form application in c# , in which there is a grid
view control which is bind to SQL server database. All want, to let user
press CTRL + N and a new row appears as the first row of grid view and on
entering data in that row, data should be inserted into database by
pressing enter and with all validation checks. For this I am using text
boxes, but don't know how to do it with grid view.

No comments:

Post a Comment