OleDbConnection m= new OleDbConnection("provider=vfpoledb.1;Data Source=D:/Vfp98/我的东西/asp2.dbc;");
m.Open();
OleDbCommand n = new OleDbCommand("update [表2] set [xx]=xx+1 where xyid="+xy_id ,m );
try
{
xy_id = int.Prase ((int)this.RadioButtonList1.SelectedValue.ToString());
n.ExecuteNonQuery();}
catch
{
Response.Write("<Script>alert('错误,请稍后再试!');</script>");
return;
}
m.Close();
m.Close();
m.Open();
OleDbCommand n = new OleDbCommand("update [表2] set [xx]=xx+1 where xyid="+xy_id ,m );
try
{
xy_id = int.Prase ((int)this.RadioButtonList1.SelectedValue.ToString());
n.ExecuteNonQuery();}
catch
{
Response.Write("<Script>alert('错误,请稍后再试!');</script>");
return;
}
m.Close();
m.Close();
不想停留。。。