Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Bind(SlnID.ToInt(), VerID, ContractID.ToInt());
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }