Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
protected void btnDelete_Click(object Sender, EventArgs e) { LinkButton oButton = (LinkButton)Sender; int intId = Int32.Parse(oButton.CommandArgument); if (oButton.CommandName == "Asset") { oCustom.DeleteTechAsset(intId); } else { oCustom.DeleteResourceAssignment(intId); } Response.Redirect(oPage.GetFullLink(intPage) + "?rid=" + Request.QueryString["rid"]); }