Esempio n. 1
0
        protected string WhereSql()
        {
            StringBuilder strTemp = new StringBuilder("");

            strTemp.Append(" and ParentID=" + id);
            if (id > 0)
            {
                ltlAreaName.Text = bll.GetModel(id).RName;
                phDetail.Visible = true;
                phList.Visible   = false;
            }
            return(strTemp.ToString());
        }
Esempio n. 2
0
 void ShowInfo(int id)
 {
     Model.T_Regional model = bll.GetModel(id);
     txtTitle.Text  = model.RName;
     txtSortId.Text = model.SortNum.ToString();
 }