T
trint
I have a decimal amount in c#:
decimal amounT = 62.75;
and I need INSERT it into a SQL record as a money value.
string strSQL2 = "INSERT INTO trvlDetail(amountfield) ""VALUES ('" +
amounT + "') ";
Should I use a CONVERT in SQL (if so, how?) or what would be the
equivelent in c#?
Thanks,
Trint
decimal amounT = 62.75;
and I need INSERT it into a SQL record as a money value.
string strSQL2 = "INSERT INTO trvlDetail(amountfield) ""VALUES ('" +
amounT + "') ";
Should I use a CONVERT in SQL (if so, how?) or what would be the
equivelent in c#?
Thanks,
Trint