Need help!So strange with DataRow State..

  • Thread starter Thread starter yonggangwang
  • Start date Start date
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 !
 
Back
Top