コード例 #1
0
    //protected void MarknEnabelCheckBox()
    //{
    //    foreach (ListItem liQ in chkLstUser.Items)
    //    {
    //        foreach (ListItem liU in chkLstUser.Items)
    //        {
    //            if (liQ.Value == liU.Value)
    //            {
    //                liU.Selected = true;
    //                liU.Enabled = false;
    //            }
    //        }
    //    }
    //}

    protected void btnMoveRight_Click(object sender, EventArgs e)
    {
        foreach (ListItem li in chkLstUser.Items)
        {
            if (li.Selected == true)
            {
                int val = objUser.UPDATE_SuperAttendingVessel(Convert.ToInt32(li.Value), "ADDTOLIST", Convert.ToInt32(Session["USERID"].ToString()));
            }
        }
        Bind_SelectedSuperList();
        BindUserList();
        Updpnl.Update();
    }
コード例 #2
0
 protected void btnMoveRight_Click(object sender, EventArgs e)
 {
     foreach (ListItem li in chkLstUser.Items)
     {
         if (li.Selected == true)
         {
             int val = objUser.Insert_Travel_Quotation_Acess(Convert.ToInt32(li.Value), "ADDTOLIST", Convert.ToInt32(Session["USERID"].ToString()));
         }
     }
     BindTravQtnUserList();
     BindUserList();
     Updpnl.Update();
 }
コード例 #3
0
    protected void btnMoveLeft_Click(object sender, EventArgs e)
    {
        foreach (ListItem li in chkLstSelectedUser.Items)
        {
            if (li.Selected == true)
            {
                int val = objUser.UPDATE_SuperAttendingVessel(Convert.ToInt32(li.Value), "REMOVEFROMLIST", GetSessionUserID());
            }
        }

        Bind_SelectedSuperList();
        BindUserList();
        Updpnl.Update();
    }
コード例 #4
0
 protected void btnQtnRefresh_Click(object sender, ImageClickEventArgs e)
 {
     txtQtnUserListSearch.Text = "";
     BindTravQtnUserList();
     Updpnl.Update();
 }
コード例 #5
0
 protected void btnQtnUserFilter_Click(object sender, ImageClickEventArgs e)
 {
     BindTravQtnUserList();
     Updpnl.Update();
 }
コード例 #6
0
 protected void btnSuperRefresh_Click(object sender, ImageClickEventArgs e)
 {
     txtSuperUserListSearch.Text = "";
     Bind_SelectedSuperList();
     Updpnl.Update();
 }
コード例 #7
0
 protected void btnSuperUserFilter_Click(object sender, ImageClickEventArgs e)
 {
     Bind_SelectedSuperList();
     Updpnl.Update();
 }