Click here to Skip to main content
15,919,500 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
You can use Language-Integrated Query (LINQ) in Web pages to retrieve and ... Accessing Data with ASP.NET · Using LINQ with ASP.NET · How to: Create LINQ ... LINQ applies the principles of object-oriented programming to relational data. ...
Posted
Updated 26-Sep-12 1:35am
v3
Comments
Anuja Pawar Indore 26-Sep-12 2:57am    
What are you trying to ask?
Sandeep Mewara 26-Sep-12 3:22am    
Once again, it does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.

Hi, Please find your solution here A LINQ Tutorial: Adding/Updating/Deleting Data[^]
 
Share this answer
 
You have use the InsertOnSubmit method.

Check the links below, this will give you fair idea on Insert using LINQ TO SQL

LINQ to SQL: All common operations (Insert, Update, Delete, Get) in one base class[^]
http://msdn.microsoft.com/en-us/library/bb386941.aspx[^]

Hope this helps.

cheers
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900