Dataset Now showing updated Rows.

  • Thread starter Thread starter archana
  • Start date Start date
A

archana

Hi all,

I am having one dataset in which i am taking data from database.

Then in my application i am creating one new column into datatable of
that dataset and assigned one default value for all rows.

so when i call getchages method its not returing me all rows as i set
default value for all rows.
But if i remove setting of default value and per row i call beginedit
and end edit and update rows manually then after calling getchanges it
is returing me changed rows.

Why this is happening? Can anyone shed some light on it.

Any help will be truely appreciated.
Thanks in advance.
 
Because adding the column and setting the default has not chnaged the data in
the row. It has changed the schema of the table.
 
Back
Top