J
JDP@Work
I have a single datagrid in a usercontrol for my web app. The usercontrol grid
is used in some 10 pages, for viewing and selecting records, searching etc.....
I want to enable date sorting, so I want to take my EventDate comlumn, "ondate"
and copy it's contents to a "SortDate" column, however I would also like to
change the format of the data.
Ondate #02/18/2005#
SortDate string or integer value 20050218
(Will this sort as expected?)
I've gottine this far...
ds.tables(0).columns.Add("SortDate", gettype(string))
But I'm stuck as to how to copy the ondate column and reformat as indicated
above.
TIA
JeffP......
is used in some 10 pages, for viewing and selecting records, searching etc.....
I want to enable date sorting, so I want to take my EventDate comlumn, "ondate"
and copy it's contents to a "SortDate" column, however I would also like to
change the format of the data.
Ondate #02/18/2005#
SortDate string or integer value 20050218
(Will this sort as expected?)
I've gottine this far...
ds.tables(0).columns.Add("SortDate", gettype(string))
But I'm stuck as to how to copy the ondate column and reformat as indicated
above.
TIA
JeffP......