Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこの行を使用します:
DataSet.SomeTableName.Rows.InsertAt(someRow, 0);
この行の後、SQLテーブルを更新します。ただし、挿入された行はSQLサーバー側には表示されません。
挿入された行がSQLサーバー側に表示されない理由はありますか?
SetAddedメソッドを発行します。
SetAdded
someRow.AcceptChanges(); someRow.SetAdded();
私の知る限り、InsertAt実際には変更を実行しませんRowState。
InsertAt
RowState