First Step :
Drag Your All database table in Linq File
Following Are Step
1)How To Write a Insert/update Code- Right Click On Project
- Add New Item
- Select Linq File
- Drag your Data Table
- Save and Buit A project
![]() |
| Click on Image to Show in Details |
In Above Example Vender_Event is Table
To Save you have to just to assign all object of Table and in update you have to pass table primary key before submit.
2)Delete code
| Click on Image to Show in Details |
In Above Code student is table and we fetch the student data by its ID.
Thank you , Hope you like this Operation details.


No comments:
Post a Comment