Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create cursor
Message
From
19/09/2003 15:33:38
 
 
To
19/09/2003 15:16:53
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00830756
Message ID:
00830758
Views:
22
Yep, DataSets or DataTables.
DataSet ds = new DataSet();
ds.Tables.Add(new DataTable());
ds.Tables[0].Columns.Add(new DataColumn("MyColumn");
DataRow row = ds.Tables[0].NewRow();
row["MyColumn"] = Whatever;
ds.Tables[0].Rows.Add(row);

// etc ....
~~Bonnie

>When using VFP, I would do the following to create a cursor and populate it:
>
>CREATE CURSOR mycursor (field1 C(10), field2 I, field3 D)
>INSERT INTO mycursor (field1, field2, field3) VALUES ("TEST", 1, DATE())
>
>Is there a simular way to do something like this in .Net?
>
>Thanks,
>
>Jerry
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform