Hi Tim. Thnaks for replying.
Yes, Convert.ToInt32() works fine
Why does this work and Int() does not ?? Are both these commands not doing the same thing
regards,
Gerard
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only