Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in trying to implicitly convert type 'Object' to '
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00979853
Message ID:
00979856
Views:
9
Hi Kevin,
I noticed an error in my orig post... should have been string MyNum.

Having changed this, and applied your change, which I assume converts int to string I got a:

Cannot implicitly convert type 'int' to 'string'

Regards,
Gerard



>Hey, Gerard,
>
>Try this...
>
>
>int MyNum;
>MyNum = int.Parse(dr["num_nexta"].ToString());
>
>
>Hope that helps...
>Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform