Пример #1
0
 protected void btnAdd_Click(Object Sender, EventArgs e)
 {
     if (Request.Form[hdnUser.UniqueID] != "")
     {
         oDataPoint.AddDeployModel(Int32.Parse(Request.Form[hdnUser.UniqueID]), Int32.Parse(Request.Form[hdnModel.UniqueID]));
         Response.Redirect(Request.Path + "?save=true");
     }
     else
     {
         Response.Redirect(Request.Path);
     }
 }