ashishraj14
Programmer
I have a DataGrid that display records from SQL Server table. User click on Add button to open Data Entry form and press OK when finished. New record should be added to the database and DataGrid should display and highlight the added record. Similarly, when user modifies a particular record, the changes should be propagated to database and DataGrid. When delete button is pressed highlighted record should be deleted.
I have come across different options such as passing DataRow from one form to another, passing DataSet by reference etc, but still confused as to which is the neatest way of doing this?
Please help
I have come across different options such as passing DataRow from one form to another, passing DataSet by reference etc, but still confused as to which is the neatest way of doing this?
Please help