摘要:
RowState的值取决于两个因素:已对该行执行的操作的类型,以及是否已对DataRow调用了AcceptChanges。private void DemonstrateRowState(){ // Run a function to create a DataTable with one column. DataTable table = MakeTable(); DataRow row; // Create a new DataRow. row = table.NewRow(); // Detached row. Console.WriteLine... 阅读全文