protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Bind(SlnID.ToInt(), VerID, ContractID.ToInt()); } }
public void Bind() { try { int slnId = BindSolution(SlnID.ToInt()); BindEnumInfo(slnId); int verId = BindVersion(slnId); int agreementId = BindAgreement(slnId); int contractId = BindContract(slnId, verId, agreementId, ContractID.ToInt()); BindResult(slnId, verId, contractId); } catch (Exception ex) { TraceLog.WriteError("Default bind error:{0}", ex); } }