G
Guest
In VB, to know the field type of a column stored in a recordset the command I
use is
If rsQuery.Fields(k).Type = adCurrency Then
How will I achieve the same in ASP.net. I could not find a currency data
type in asp.net and the type is idenfied as decimal.
I have two fields defined in Sql-Server, one is money and other is decimal.
In asp.net both are identified as decimal.
My requirement is, If the type is money I am adding a $ symbol as prefix and
if it is a decimal I just leave as it is. How to achieve this in asp.net
use is
If rsQuery.Fields(k).Type = adCurrency Then
How will I achieve the same in ASP.net. I could not find a currency data
type in asp.net and the type is idenfied as decimal.
I have two fields defined in Sql-Server, one is money and other is decimal.
In asp.net both are identified as decimal.
My requirement is, If the type is money I am adding a $ symbol as prefix and
if it is a decimal I just leave as it is. How to achieve this in asp.net