示例#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());
        }
示例#2
0
 void ShowInfo(int id)
 {
     Model.T_Regional model = bll.GetModel(id);
     txtTitle.Text  = model.RName;
     txtSortId.Text = model.SortNum.ToString();
 }