コード例 #1
0
        private void AddUrlLive()
        {
            DataTable td = getTable.GetAllDataFromtblLiveInfo();

            ReptmLive.DataSource = td;
            ReptmLive.DataBind();
        }
コード例 #2
0
        private void LinkData()
        {
            DataTable td = new DataTable();

            td = getTable.GetAllDataFromtblLiveInfo();
            txtLivelinkKuaiShou.Text     = td.Rows[0]["LiUrl"].ToString();
            txtLinkKuaishouTitleEng.Text = td.Rows[0]["LiTitleEng"].ToString();//LiTitle
            txtLinkKuaishouTitle.Text    = td.Rows[0]["LiTitle"].ToString();

            txtyinkeLink.Text        = td.Rows[1]["LiUrl"].ToString();
            txtyinkelinkSassEng.Text = td.Rows[1]["LiTitleEng"].ToString();//LiTitle
            txtyinkeLinkSass.Text    = td.Rows[1]["LiTitle"].ToString();

            txtshangyuLink.Text     = td.Rows[2]["LiUrl"].ToString();
            txtShangyutitleENG.Text = td.Rows[2]["LiTitleEng"].ToString();//LiTitle
            txtShangyutitle.Text    = td.Rows[2]["LiTitle"].ToString();
        }