コード例 #1
0
 protected void BindContactPersonFromTempData()
 {
     try
     {
         CustomProfile profile = CustomProfile.GetProfile();
         BrilliantWMS.ServiceContactPersonInfo.iContactPersonInfoClient ServiceContactPerson = new BrilliantWMS.ServiceContactPersonInfo.iContactPersonInfoClient();
         if (hnddefaultchk.Value == "")
         {
             hnddefaultchk.Value = "1";
         }
         GVContactPerson.DataSource = ServiceContactPerson.GetContactPersonTempData(hdnConPersonTargetObject.Value + "_ContactPerson", Convert.ToInt64(hnddefaultchk.Value), Session.SessionID.ToString(), profile.Personal.UserID.ToString(), profile.DBConnection._constr);
         // GVContactPerson.DataSource = ServiceContactPerson.GetContactPersonTempData("_ContactPerson", Convert.ToInt64(hnddefaultchk.Value), Session.SessionID.ToString(), profile.Personal.UserID.ToString(), profile.DBConnection._constr);
         GVContactPerson.DataBind();
         ServiceContactPerson.Close();
     }
     catch (System.Exception ex)
     {
         Login.Profile.ErrorHandling(ex, ParentPage, "UC ContactPerson", "BindContactPersonFromTempData");
     }
 }