protected void btnCreate_Click(object sender, System.EventArgs e) { try { Bip.Components.GroupEnt entity = new Bip.Components.GroupEnt(); entity.New(); entity.Name = txtName.Text; entity.Create(); entity.Dispose(); Response.Redirect((String)ViewState["UrlReferrer"], true); } catch (Exception ex) { ProcessException(ex); return; } }
protected void btnCreate_Click(object sender, System.EventArgs e) { try { Bip.Components.GroupEnt entity = new Bip.Components.GroupEnt(); entity.New(); entity.Name = txtName.Text; entity.Create(); entity.Dispose(); Response.Redirect((String) ViewState["UrlReferrer"],true); } catch(Exception ex) { ProcessException(ex); return; } }