Пример #1
0
 protected void btnAdd_Click(Object Sender, EventArgs e)
 {
     if (intID == 0)
     {
         oAudit.AddScriptLanguage(txtName.Text, txtEXE.Text, txtExtension.Text, (chkEnabled.Checked ? 1 : 0));
     }
     else
     {
         oAudit.UpdateScriptLanguage(intID, txtName.Text, txtEXE.Text, txtExtension.Text, (chkEnabled.Checked ? 1 : 0));
     }
     Response.Redirect(Request.Path);
 }