Data Inser Update with Gridview and Business objects
-
Hi all, I have a class Employee with Fields ID, Name Dept Salary. I have a gridview to show them with datasource Emps (a List object). my queries are: 1) How Can I insert a new employee in the gridview and insert it into database using Emp.Save() method. 2) In the same manner how can I update it.
-
Hi all, I have a class Employee with Fields ID, Name Dept Salary. I have a gridview to show them with datasource Emps (a List object). my queries are: 1) How Can I insert a new employee in the gridview and insert it into database using Emp.Save() method. 2) In the same manner how can I update it.
Here is few good reference for you ! How to insert record using GridView[^] and Insert Update Edit Delete record in GridView using SqlDataSource ASP.NET[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.