private void salvarSofware() { Sofware sft = new Sofware(); sft.cadastrarSoftware(txtNome, txtDescricao, txtInterface, txtVersao); Response.Redirect("FrmSoftware.aspx?msg='Usuário cadastrado;'"); }
private void editarSoftware() { Sofware sft = new Sofware(); sft.editarSofware(Convert.ToInt32(GridSoftware.SelectedRow.Cells[0].Text), txtNome, txtDescricao, txtInterface, txtVersao); Response.Redirect("FrmSoftware.aspx"); }