protected void simpanKat_Click(object sender, EventArgs e)
 {
     try
     {
         crud updt = new crud();
         updt.ubahAdmin(txtidadmin.Text, txtnama.Text, txtuser.Text, txtpwd.Text);
         Response.Write("<script>alert('Data Berhasil Diperbaharui');</script>");
         Response.Redirect("EditDeleteAdmin.aspx");
         fillgvKat();
     }
     catch (Exception ex)
     {
         txtError.Text = ex.Message;
     }
 }