Ejemplo n.º 1
0
    /// <summary>
    /// 绑定社团信息
    /// </summary>
    /// <param name="STBID"></param>
    private void ShowInfo(int STBID)
    {
        T_STB model = new T_STB();

        model = model.GetModel(STBID);
        if (model != null)
        {
            this.txtSTBMC.Text = model.STBMC;
            this.txtSTF.Text   = model.STF.ToString();
        }
    }
Ejemplo n.º 2
0
    /// <summary>
    /// 显示信息
    /// </summary>
    /// <param name="STBID"></param>

    private void ShowInfo(int STBID)
    {
        T_STB model = new T_STB();

        model = model.GetModel(STBID);
        if (model != null)
        {
            this.lblSTBMC.Text  = model.STBMC;
            this.lblBZID.Text   = model.BZID.ToString();
            this.lblCYRS.Text   = model.CYRS.ToString();
            this.lblMOBILE.Text = model.MOBILE;
            this.lblSTZN.Text   = model.STZN;
            this.lblBZ.Text     = model.BZ;
            this.lblSTF.Text    = model.STF.ToString();
        }
    }
Ejemplo n.º 3
0
    /// <summary>
    /// 绑定社团信息
    /// </summary>
    /// <param name="STBID"></param>
    private void ShowInfo(int STBID)
    {
        T_STB model = new T_STB();

        model = model.GetModel(STBID);
        if (model != null)
        {
            this.txtSTBMC.Text = model.STBMC;
            if (model.BZID != null)
            {
                this.ddlBZ.SelectedValue = model.BZID.ToString();
            }
            this.txtCYRS.Text   = model.CYRS.ToString();
            this.txtMOBILE.Text = model.MOBILE;
            this.txtSTZN.Text   = model.STZN;
            this.txtBZ.Text     = model.BZ;
            this.txtSTF.Text    = model.STF.ToString();
        }
    }