예제 #1
0
 public static DataTable get(bool includeInactive, Guid?ID, string nameFilter, Guid?vendorID, Guid?retailLengthUnitID, Guid?bulkLengthUnitID, Guid?productWidthID, GordenItemCategories?category)
 {
     if (category == null)
     {
         return(get(true, Tools.copyIntToArrayTable(null), ID, null, null, null, null, null));
     }
     else
     {
         return(get(true, Tools.copyIntToArrayTable((int)category), ID, null, null, null, null, null));
     }
 }
예제 #2
0
 public static void populateDropDownList(System.Windows.Forms.ComboBox dropdownlist, bool includeInactive, params GordenItemCategories?[] categoryEnumIDList)
 {
     Tools.populateDropDownList(dropdownlist, get(includeInactive, Tools.copyIntToArrayTable(convertToIntArray(categoryEnumIDList)), null, null, null, null, null, null).DefaultView, COL_DB_NAME, COL_DB_ID, false);
 }