dchau12
asked on
default value of a column added to a datatable
Is there a way to set a default value to a column added to a datatable?
Here is where I add the column:
dsdata.Tables(0).Columns.A dd("QCompI D13_1", GetType(Integer))
This is in a dataset of 500 records. I want to set this value to 997 for this column throughout the whole dataset. Do I have to loop through the whole thing to set the value, or can I just set the value when I create the column?
ryan
Here is where I add the column:
dsdata.Tables(0).Columns.A
This is in a dataset of 500 records. I want to set this value to 997 for this column throughout the whole dataset. Do I have to loop through the whole thing to set the value, or can I just set the value when I create the column?
ryan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.