Ejemplo n.º 1
0
 private void loadUserGroup(string _schemeID, ListBox _lstBT)
 {
     ProcessEditScheme _processEditScheme = new ProcessEditScheme();
     _processEditScheme.SchemeID = _schemeID;
     _processEditScheme.ComID = Session["trkCompany"].ToString();
     _ds = _processEditScheme.getUserGroup();
     _lstBT.DataSource = _ds;
     _lstBT.DataTextField = "groupName";
     _lstBT.DataValueField = "groupID";
     _lstBT.DataBind();
 }
Ejemplo n.º 2
0
    private void loadUserGroup(string _schemeID)
    {
        try
        {
            DataSet _ds = new DataSet();

            ProcessEditScheme _processEditScheme = new ProcessEditScheme();
            _processEditScheme.SchemeID = _schemeID;
            _processEditScheme.ComID = Session["trkCompany"].ToString();
            _ds = _processEditScheme.getUserGroup();
            _lstBT.DataSource = _ds;
            _lstBT.DataTextField = "groupName";
            _lstBT.DataValueField = "groupID";
            _lstBT.DataBind();
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.Message.ToString());
        }

        setHiddenvalue();
        //ListedUpdate.Update();
        //NotListedUpdate.Update();
    }