Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Cursor in VFP
Message
De
06/06/2008 05:05:59
 
 
À
06/06/2008 04:58:01
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01322052
Message ID:
01322053
Vues:
12
Hi,
DataTable dt = new DataTable("MyTable");

DataColumn dc1 = new DataColumn("Field1", typeof(String));
DataColumn dc2 = new DataColumn("Field2", typeof(int));

dt.Columns.AddRange(new DataColumn[] { dc1, dc2 });

dt.Rows.Add();
dt.Rows[0]["Field1"] = "abc";
dt.Rows[0]["Field2"] = 1;
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform