Using Datatype Object And Determine Datatype In Class Property - Several Integers Columns That Are Null In The Db?Mar 8, 2010
anything wrong with using datatype object and determine datatype in class property? I have a typed dataset and it has several integers columns that are null in the db. and when I make a call it throws exception.is there anythign wrong with setting it as object in my dataset.. changing the throw exception property to Nothing and passing it to my property as integer?
for each row in myDS.DataTable
cRate.CustID = row.CustID
and in my class
Public Property CustID() As Integer