예제 #1
0
        private static DataTable CreateLookupWithFieldType()
        {
            DataTable table = QueryLookupHelper.GetQuerySearchFieldLookupTable();

            table.Clear();
            AddRow(table, "fBit", 10081001, DBNull.Value);
            AddRow(table, "fDate", 10081002, DBNull.Value);
            AddRow(table, "fFloat", 10081004, DBNull.Value);
            AddRow(table, "fID", 10081005, DBNull.Value);
            AddRow(table, "fInteger", 10081006, DBNull.Value);
            AddRow(table, "fString", 10081007, DBNull.Value);
            return(table);
        }
예제 #2
0
        private static DataTable CreateLookupWithFF()
        {
            DataTable table = QueryLookupHelper.GetQuerySearchFieldLookupTable();

            table.Clear();
            AddRow(table, "fNumeric", 10081003, 10071007);
            AddRow(table, "fBoolean", 10081003, 10071025);
            AddRow(table, "fCaption", 10081003, 10071026);
            AddRow(table, "fDate", 10081003, 10071029);
            AddRow(table, "fDateTime", 10081003, 10071030);
            AddRow(table, "fMonths", 10081003, 10071037);
            AddRow(table, "fString", 10081003, 10071045);
            AddRow(table, "fNumericNatural", 10081003, 10071059);
            AddRow(table, "fNumericPositive", 10081003, 10071060);
            AddRow(table, "fNumericInteger", 10081003, 10071061);
            return(table);
        }