On Wed, Nov 10, 2010 at 11:23 AM, Santhosh V Kumar <[email protected]> wrote: > Hi all, > Today I am trying to do Update the value of a particular row > with LINQ but I am finding the but can some one please help me to get > ride of this. Here is my code > > DataClasses1DataContext db = new DataClasses1DataContext(); > login log = db.logins.Single(p => p.uname == "san"); > log.pword = TextBox1.Text; > log.logi = TextBox2.Text; > db.SubmitChanges(); > > > no changes gets affected in table. ------------------------------
db.SaveChanges() is what you need. -- Stephen Russell Sr. Production Systems Programmer CIMSgts 901.246-0159 cell
