D
Danny Ni
Hi,
I tried to get a value from dataset. Here is my code:
int intCustomerID = (int)(dsCustomer.Tables[0].Rows[0].ItemArray[0]);
I keep getting "Specified cast is not valid", I know for a fact that the
value is an integer.
So how do I cast it?
TIA
I tried to get a value from dataset. Here is my code:
int intCustomerID = (int)(dsCustomer.Tables[0].Rows[0].ItemArray[0]);
I keep getting "Specified cast is not valid", I know for a fact that the
value is an integer.
So how do I cast it?
TIA