Hi,
I want to filter on dates with the use of rowfilter
The database column is off type SmallDateTime
The problem is that the dates are not interpeted right
I try'd several variations like dim theDate as string=dtp1.Value.ToShortDateString
If I do > 7-8-2007,
I also get 4-8-2007
thanks in adv, Richard
I want to filter on dates with the use of rowfilter
The database column is off type SmallDateTime
The problem is that the dates are not interpeted right
I try'd several variations like dim theDate as string=dtp1.Value.ToShortDateString
If I do > 7-8-2007,
I also get 4-8-2007
VB.NET:
Dim sCol As String = Me.cboColumns.SelectedItem.ToString()
Dim theDate As DateTime= dtp1.Value (DateTimePicker)
dv.RowFilter = "" & sCol & " > #" & theDate & "#"
thanks in adv, Richard
Last edited: