Need help!So strange with DataRow State..

Y

yonggangwang

Hi:everybody
I meet a very strange problem.
I use strong typed DataSet.
After I change the row value,the rowstate always UnChanged.
Here is the code:
dsOrder.order_master[cmMaster.Position].order_no=10;
string s dsOrder.order_master[cmMaster.Position].RowState.ToString();
or
dsOrder.order_master[0].order_no=10;
string s dsOrder.order_master[0].RowState.ToString();
s is always "UnChanged".

But in the morning ,It was working very well.
I try to change the tables DefaultView' value,
the same thing happend,I got confused,
Dose anybody met problems like this?
Thanks !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top