how to do this conversion?
- by kumar
string mvi = Moneys.GetValue(8) as string;
if (mvi == null)
money.Currency= Convert.ToDecimal(""); /// I am getting exception Here if its null?
else
money.Currency= Convert.ToDecimal(mvi); /// Currency is Decimal
money.Currency= Convert.ToDecimal(""); /// I am getting exception Here if its null?
Can any body tell me how to do this?
thanks