示例#1
0
    public string GetXingye(int indeeryId)
    {
        string par = "";

        if (indeeryId != -1)
        {
            Tz888.Model.Mail.Industry model = industrybll.GetModel(indeeryId);
            par = model.Name.Trim();
        }
        else
        {
            par = "所有行业";
        }
        return(par);
    }
 /// <summary>
 /// 查询内容
 /// </summary>
 /// <param name="id"></param>
 private void Sel(int id)
 {
     model                        = indust.GetModel(id);
     this.txtName.Text            = model.Name.ToString();
     this.rbtIsShow.SelectedValue = model.IsShow.ToString();
 }