Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting a row into a data set
Message
De
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:
01257942
Vues:
21
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.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform