protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //ユーザー一覧で選択した従業員の情報を最初から表示したい
                EUser EU = new EUser();
                using (TranMng TM = new TranMng())
                {
                    string UserId = Session["UserId"].ToString();
                    user.Text = UserId;
                    //選んだユーザーの情報をエンティティに保存
                    SelectDao SD = new SelectDao();
                    EU                 = SD.Select(UserId);
                    last_nm.Text       = EU.last_nm;
                    first_nm.Text      = EU.first_nm;
                    last_nm_kana.Text  = EU.last_nm_kana;
                    first_nm_kana.Text = EU.first_nm_kana;
                }

                DropDownList1.SelectedIndex = EU.gender_cd;

                ListItem li2         = DropDownList2.Items.FindByValue(EU.section_cd);
                int      section_idx = DropDownList2.Items.IndexOf(li2);
                DropDownList2.SelectedIndex = section_idx;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                using (TranMng TM = new TranMng())
                {
                    SelectDao SD    = new SelectDao();
                    int       count = SD.Select();
                    if (count == 0)
                    {
                        Emp_Cd_List.Visible  = false;
                        DeleteButton.Visible = false;
                    }
                }
            }

            DeleteButton.Attributes["OnClick"] = "return confirm('本当に削除しますか?');";
        }