Updating LINQ record

Page 1 of 1

0 Replies - 660 Views - Last Post: 09 July 2008 - 06:33 AM Rate Topic: -----

#1 Sarita Tejapu  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-July 08

Updating LINQ record

Post icon  Posted 09 July 2008 - 06:33 AM

CompanyDetail companyDetail= dc().CompanyDetail.First(c => c.companyName == updatedCompanyDetail.companyName);
			companyDetail=updatedCompanyDetail;
			dc().SubmitChanges();





I am updating a record of table called companyDetails,where my primary key is companyname. Changes are not submitting.

Please help me as i m just a begginer in C# LINQ.
Is This A Good Question/Topic? 0
  • +

Page 1 of 1