Exemple #1
0
 private void LoadData()
 {
     try
     {
         LeafLevel m_Base = new LeafLevelDAL().Get(Request.QueryString["id"]);
         txtLEAF_LEVEL.Text = m_Base.Level;
         txtLeafLevelName.Text = m_Base.LeafLevelName;//等级名称
         txtLeafLevelDesc.Text = m_Base.LeafLevelDesc;//等级描述
         txtLeafLevelPrice.Text = m_Base.LeafLevelPrice.ToString();//烟叶等级价格
         txtLeafLevelSort.Text = m_Base.LeafLevelSort.ToString();//排序
     }
     catch (Exception e)
     {
         Alert(e);
     }
 }
Exemple #2
0
 private void LoadData()
 {
     try
     {
         LeafLevel m_Base = new LeafLevelDAL().Get(Request.QueryString["id"]);
         txtLEAF_LEVEL.Text     = m_Base.Level;
         txtLeafLevelName.Text  = m_Base.LeafLevelName;               //等级名称
         txtLeafLevelDesc.Text  = m_Base.LeafLevelDesc;               //等级描述
         txtLeafLevelPrice.Text = m_Base.LeafLevelPrice.ToString();   //烟叶等级价格
         txtLeafLevelSort.Text  = m_Base.LeafLevelSort.ToString();    //排序
     }
     catch (Exception e)
     {
         Alert(e);
     }
 }