update rowstate of dataset

来源:互联网 发布:linux 启动jar包脚本 编辑:程序博客网 时间:2024/06/14 09:33
before do any change for rowstate ,should make the row accept changes .


row.AcceptChanges(); // sets DataRowState.Unchangedrow.SetAdded();


原创粉丝点击