Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting a row into a data set
Message
 
To
02/10/2007 11:32:37
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01257767
Message ID:
01257959
Views:
21
Ya, I figured out before Kevin posted. Another silly newbbie mistake!

Thanks all



>You table name must not be mnuTabls then.
>
>>I changed it to the following, and it now works fine
>>
oDataRow = oDataSet.Tables[0].NewRow();
>>
>>Thanks
>>
>>
>>
>>
>>> oDataRow = oDataSet.Tables["mnuTabs"].NewRow();
>>>
>>>Are you 100% certain that you have a datatable called mnuTabs? As Bill suggested, suspend the application and check oDataSet.Tables["mnuTabs"] to make sure that it's actually a table with columns.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform