Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting a row into a data set
Message
 
À
02/10/2007 11:32:37
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01257767
Message ID:
01257959
Vues:
22
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform