Click here to Skip to main content
14,665,492 members
Rate this:
Please Sign up or sign in to vote.
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.

Rate this:
Please Sign up or sign in to vote.

Solution 1

Hi, Please find your solution here A LINQ Tutorial: Adding/Updating/Deleting Data[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

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
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100