Link to home
Start Free TrialLog in
Avatar of thenrich
thenrich

asked on

DataColumn DataType

I have the folling code:

c = m_dtMain.Columns.Add("ServiceTotal")
c.DataType = System.Type.GetType("System.Currency")
''' Blows up here - something with the datatype
c.DefaultValue = "$0.00"
ASKER CERTIFIED SOLUTION
Avatar of daveamour
daveamour
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial