예제 #1
0
 protected void gvUsers_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "EditMethod")
     {
         AddUser1.Popup(Convert.ToInt32(e.CommandArgument.ToString()));
     }
 }
예제 #2
0
 protected void lbAddUser_Click(object sender, EventArgs e)
 {
     try
     {
         AddUser1.Popup(0);
     }
     catch (Exception ex)
     {
         string strErrCode = ERROR_DISPLAY_MESSAGE + "," + (new Error_Log()).LogErrorIntoDB(ex, "lbAddUser_Click");
         lblErr.Text = strErrCode;
     }
 }