Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Cursor in VFP
Message
From
06/06/2008 05:05:59
 
 
To
06/06/2008 04:58:01
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01322052
Message ID:
01322053
Views:
11
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...
Previous
Reply
Map
View

Click here to load this message in the networking platform