Esempio n. 1
0
        public void loadRegisteredGroups(string enrollno)
        {
            foreach (string groupid in ConnC.GetFullColumn("select GroupId from groupsof_" + enrollno.ToLower(), ConnC.con))
            {
                string GetRegisteredGroupsQuery = "SELECT * from tbl_groups where GroupID='" + groupid + "'";
                RegisterdGroups.Add(ConnC.GetAllGroups(GetRegisteredGroupsQuery)[0]);
            }

            Clients.Caller.loadRegisteredGroups(RegisterdGroups);
        }