Zig
Posts: 3
|
Posted: 12/01/2006, 10:05 AM |
|
XP/IE6/CCS3.1/ASP.NET/C#/IIS/SQL
Every time I use a date field in my search/grid, I get this error during the build:
Quote :Error:c:\Documents and Settings\MarziglianoL\Local Settings\Temp\~ARMS\components\IGRec_listDataProvider.cs(644,12): error CS0246: The type or namespace name 'DateTimeParameter' could not be found (are you missing a using directive or an assembly reference?)
If I use date fields in a maintanance form (for add/edit records), there's no problem with that build. In the "list" form however, I get one of these errors for each date field I use.
I tried removing the date fields from the list form, but the error persists. If I start a new project and add no date fields to the form, it runs like a champ. Of course, when the bossman took a look at my form, the first words out of his mouth were "Can we get it to search by dates?"
|
|
|
vladi
|
Posted: 02/01/2007, 8:40 PM |
|
I have had this problem too. The way I fixed is by opening the grid's Data Source and tha date parameter in the where clause. You have to set the type of the parameter to date to fix the problem.
|
|
|
|