Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Maticsoft.BLL.ComPany combll = new Maticsoft.BLL.ComPany();
         int maxid = combll.GetMaxId() - 1;
         Maticsoft.Model.ComPany commodel = combll.GetModel(maxid);
         lblComPanyContent.Text = commodel.comconten;
     }
 }
Esempio n. 2
0
        private void bind()
        {
            Maticsoft.BLL.ComPany companybll = new Maticsoft.BLL.ComPany();
            int maxid = companybll.GetMaxId() - 1;

            Maticsoft.Model.ComPany companymodel = companybll.GetModel(maxid);
            lblComEmail.Text     = companymodel.ComEmail;
            lblComFax.Text       = companymodel.ComFax;
            lblCompanyNames.Text = companymodel.CompanyNames;
            lblComPhoto.Text     = companymodel.ComPhoto;
            lblFanren.Text       = companymodel.Fanren;
        }