Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Casting a VFP numeric field
Message
From
30/03/2009 18:03:14
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01392244
Message ID:
01392247
Views:
47
Can you use Convert.ToInt32() ?

>Hi
>I have following code , in ASP.net but I get a casting error
>
> int intNumber;
> intNumber = (int)MyDs.Tables[0].Rows[0]["PAR_NUM"];
>
>If I leave out tjhe int, I get a complier error
>
>
>How do I store a VFP NUmeric field to a C# field
>
>TIA,
>Gerard
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform