Adding Row data and Column Data at the same time.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a datatable that was created within a dataset. I dynamically add columns to the table as I add data. Previously added rows probably did not have data for the column that is being added. Since I’m added rows and maybe columns at the same time what is column content for row that have been added earlier? Are the data rows equal nulls or zero length?
 
Hi Larry,

I believe it depends on what you specified in a DefaultValue property for
this column. When you add new column it should fill all the rows with the
default value.
 
Back
Top