Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting my variable to ADO data element
Message
From
15/01/2007 23:51:58
 
 
To
03/01/2007 09:48:54
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01181662
Message ID:
01185803
Views:
12
>
>string MyVariable = MyDataSet.Tables[0].Rows[0]["MyColumn"].ToString();
>
>or
>
>string MyVariable = MyDataSet.Tables["MyTable"].Rows[0]["MyColumn"].ToString();
>
Hi Bonnie.
In your code above what is the difference between
....Table[0]
and
...Table["myTable"]
?

Thanks.
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform