示例#1
0
        private void LoadData(decimal preleadId)
        {
            SlmScr046Biz bz = new SlmScr046Biz();
            var          pl = bz.GetPreleadDetail(preleadId);

            if (pl != null)
            {
                ctlPrelead.SetData(pl);
            }
            else
            {
                AppUtil.ClientAlert(this, "ไม่พบข้อมูลจาก Prelead Id ที่ระบุ");
            }
        }
示例#2
0
 public void GetPreleadData(decimal preleadId)
 {
     try
     {
         pnlPrelead.Visible = true;
         SlmScr046Biz bz = new SlmScr046Biz();
         var          pl = bz.GetPreleadDetail(preleadId);
         if (pl != null)
         {
             ctlPrelead.SetData(pl);
         }
     }
     catch (Exception ex)
     {
         _log.Error(ex.InnerException != null ? ex.InnerException.Message : ex.Message);
     }
     finally { SetAllView(); }
 }