Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update() Failed - Invalid Operation Error
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Update() Failed - Invalid Operation Error
Miscellaneous
Thread ID:
01134480
Message ID:
01134480
Views:
68
When attempting to execute the Update command on an SQLAdapter object, I get the following error:
     'Variable Values at Time of Execution:
     'Me.Parent.Parent = DataSet Object
     'Me.TableName     = "tblUsers"
     'Me.Parent.Parent.Tables.Contains("tblUsers") = True
     objAdapter.Update(Me.Parent.Parent, Me.TableName)
System.InvalidOperationException: Update unable to find TableMapping['tblUsers'] or DataTable 'tblUsers'.
I am at a complete loss as to why I am getting this error. I would not be surprised if it's something simple that I overlooked, but darned if I can't seem to track this down. Any help would be appreciated...
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook
Next
Reply
Map
View

Click here to load this message in the networking platform