>>
>>int.Parse(cRow["CashAmt"].ToString());.
>>
>
>Sam we already told u how u could do this
>int myVar = (int)cRow["CashAmt"]
>
>the (int)cRow["CashAmt"] what is does is cast what ever is on the cRow["CashAmt"] to type int, note that is that cast isn't possible you will get an error.
Yes I know what you're saying.
So when I query my data source, what is returned is not the datatype that is in the source table, so I must "cast" it to what I want. Is that it?
Alexandre, I really appreciate your patience and help.
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville
No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)