Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to append record to dataset table
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Trying to append record to dataset table
Divers
Thread ID:
00891823
Message ID:
00891823
Vues:
54
Greetings,

I am trying to append a record (row) to a table in my dataset. This is my code:

DataRow myrow;
myrow = dataSet1.Tables[0].NewRow();
dataSet1.Tables[0].rows.add(myrow);

Throws exception: The name 'myrow' does not exist in the class or namespace 'myProject.myTable'

Many thanks,

Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform