Operation must use an updateable query.??????
今天编程序遇到了这样的异常:
Operation must use an updateable query.
Line 87: OleDbCommandBuilder builder=new OleDbCommandBuilder(adapter);
Line 88: adapter.InsertCommand=builder.GetInsertCommand();
Line 89: adapter.Update(ds,"Student");
Line 90: DataGridStudent.DataSource=ds.Tables["Student"].DefaultView;
Line 91: DataGridStudent.DataBind();
Source File: c:\inetpub\wwwroot\postvar\webform1.aspx.cs Line: 89
从没有遇到过,谁知道这是怎么回事?