Beispiel #1
0
        private void FillddlUserGroup(int mid)
        {
            BAUserGroup _bausergrp  = new BAUserGroup();
            DataTable   _datatable3 = new DataTable();

            _datatable3 = _bausergrp.SelectGroupDetail("GetGroupWithMId", mid);
            ddlStudnetGroup.DataTextField  = "GroupName";
            ddlStudnetGroup.DataValueField = "GroupId";
            ddlStudnetGroup.DataSource     = _datatable3;
            ddlStudnetGroup.DataBind();
            ddlStudnetGroup.Items.Insert(0, new ListItem("None", "0"));
            ddlStudnetGroup.SelectedIndex = 0;
            pnlgroupsection.Visible       = true;
        }