By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,170 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,170 IT Pros & Developers. It's quick & easy.

Dataset Now showing updated Rows.

P: n/a
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.

Jan 31 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Because adding the column and setting the default has not chnaged the data in
the row. It has changed the schema of the table.
--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"archana" wrote:
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.

Jan 31 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.