Click here to Skip to main content
15,889,403 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am using sql to linq in windows form.i have a update button when i pressed i will get the values from database.now i want to change the values in a table and update it.how to do that plzzz help me.
Posted
Comments
bbirajdar 31-Aug-12 5:42am    
what is 'sql to linq' ?
sunandandutt 31-Aug-12 5:55am    
Unable to understand your question? Please Elavorate............
harikakakkireni 31-Aug-12 6:03am    
are you using entity framework or enterprise library? and do u mean linq to sql?????


and you can check

http://stackoverflow.com/questions/909960/update-using-linq for some samples

http://weblogs.asp.net/scottgu/archive/2007/07/11/linq-to-sql-part-4-updating-our-database.aspx


 
Share this answer
 
Comments
Christian Amado 31-Aug-12 10:27am    
+5! :)
 
Share this answer
 
v3
hi,

See the below link you will get all basic required queries from there.

http://msdn.microsoft.com/en-us/vstudio/bb688085.aspx[^]

http://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b[^]

I hope you will get your solutions from here.

Thanks,
Viprat
 
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