Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting integer from dataset without tostring conversion
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Getting integer from dataset without tostring conversion
Miscellaneous
Thread ID:
00705358
Message ID:
00705358
Views:
48
How can I get an interger value out of a dataset without converting to a string and then back to an integer? I am using the following (very rundundant) code. There must be a better way.
Convert.ToInt16(dsClinserv.Tables["cresult"].Rows[0]["fk_dept"].ToString())
Next
Reply
Map
View

Click here to load this message in the networking platform