Example #1
0
    //AM Issue#37633 04/29/2008 0.0.0.9
    public static DataTable getGroups(string searchValue, SearchOption searchKey)
    {
        DataTable returnDataTable = new DataTable();

        switch (searchKey)
        {
        case SearchOption.GROUP_ID:
            returnDataTable = DL_Groups.getGroupByGroupID(searchValue);
            break;

        case SearchOption.GROUP_NAME:
            returnDataTable = DL_Groups.getGroupByGroupName(searchValue);
            break;
        }
        return(returnDataTable);
    }