日期:2014-05-18 浏览次数:20851 次
string name= this.TextBox1.Text.Trim(); DB_Test dbt = new DB_Test(); dbt.Uname = name; int i = TestManager.Add(dbt); if (i>0) { Page.ClientScript.RegisterStartupScript(this.GetType(), "", "alert('成功');", true); bind(); } else { Page.ClientScript.RegisterStartupScript(this.GetType(), "", "alert('失败');", true); }