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