public void alterar(String estado, String sigla,String idCadEstado) { pCadEstado objCadEstado = new pCadEstado(); objCadEstado.alterar(estado, sigla, idCadEstado); }
protected void btnAlterar_Click(object sender, EventArgs e) { CadEstado objCadEstado = new CadEstado(); objCadEstado.alterar(txtEstado.Text, txtSigla.Text, txtidCadEstado.Text); Response.Redirect(Request.RawUrl); }