コード例 #1
0
        //private void SetUploadFiles()
        //{
        //    List<FileUpload> fuList = new List<FileUpload>();
        //    FileUpload fu = new FileUpload();
        //    fuList.Add(fu);
        //    Session["fuList"] = fuList;

        //    Panel2.Controls.Add(fu);

        //}
        private void GetThreadName(bool IsPostBack)
        {
            Service.File.Reader.FileReaderClient client = ReferenceCreater.GetFileReaderClient();

            var thEnt = client.GetThreadTitles().ToList();

            ddlスレッド選択.DataSource     = thEnt;
            ddlスレッド選択.DataValueField = "スレッド名";
            ddlスレッド選択.DataBind();

            // 初回ならば一番上のデータを取得
            if (1 <= thEnt.Count)
            {
                if (!IsPostBack)
                {
                    SetThreadData(GetThreadData(thEnt[0].スレッド名, 1));
                }
            }
        }