Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.
Public Sub updateUser(mUser As User) Using db As New myDataContext Dim q = (From u In db.Users Where u.UserID = mUser.UserID Select u).FirstOrDefault q = mUser db.SubmitChanges() 'At this point in a winforms app the database is updated, in an asp.net app no changes are 'made. I've stepped through the code and everything looks ok up until SubmitChanges is 'called, drilling down in to that shows that the object passed for update doesn't have the 'changed values in the new object. End Using End Sub
|How to catch SQL Errors from ADO.NET||3||84|
|Please explain "Promise Pattern" and how it's used||2||22|
|How would you translate VB.Net code into C# for a couple of statements?||5||20|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
25 Experts available now in Live!