就是这个
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0;Data Source=" + Server.MapPath("db.mdb"));
con.Open();
int count;
OleDbCommand cmd = new OleDbCommand("delete count(*) from person where name='"+this.txtName.Text+"';", con);
count=cmd.ExecuteNonQuery();
Response.Write("总删除到"+count+"条数据!");
con.Close();
我想在删除前先提示一下一共查找到多少条记录,应该怎么加代码啊?谢谢!