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