T Tony_comm Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-19 #1 我把dataView1 进行过滤后只有一条记录, 问:如何修改此条记录的数据,并且提交。
O orswanic Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-25 #2 dataView1.AllowEdit = true; // 修改数据 //然后提交dataView1对应的DataTable DataSet ds = dataView1.DataSet; this.BindingContext[ds, "table1"].EndCurrentEdit(); dataAdapter1.Update(ds, "table1"); ds.AcceptChanges();
dataView1.AllowEdit = true; // 修改数据 //然后提交dataView1对应的DataTable DataSet ds = dataView1.DataSet; this.BindingContext[ds, "table1"].EndCurrentEdit(); dataAdapter1.Update(ds, "table1"); ds.AcceptChanges();
D delphi_krush Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-26 #3 DataSet ds = dataView1.DataSet; 这样也行?!