M
mhf
I have a SqlDateTime object, but when I use DataBinder.Eval on it, the
formatting is ignored:
DataBinder.Eval(Container.DataItem, "mySqlDateTimeObj", "{0:d}")
produces output like this: "10/17/2003 12:00:00 am"
Why can't I use format specifiers on SqlDateTime objects??
Thanks to anyone who can shed a little light ....
Marc
formatting is ignored:
DataBinder.Eval(Container.DataItem, "mySqlDateTimeObj", "{0:d}")
produces output like this: "10/17/2003 12:00:00 am"
Why can't I use format specifiers on SqlDateTime objects??
Thanks to anyone who can shed a little light ....
Marc