R
Rotsey
Hi,
I have written a custom multi column listbox control that I pass a
datatable to.
the issue is that if there are date fields then these may
be in the wrong format or any other field formatting
So when I create the control I pass a object that defines
the label, width and format of each column.
How do I use the format field (which is a string) to generically
format a any field the in the datatable.
mystring = dr.ToString(myheader.Format];
Something like that is what I want to do.
But ToString doesn't support format
any ideas
rotsey.
I have written a custom multi column listbox control that I pass a
datatable to.
the issue is that if there are date fields then these may
be in the wrong format or any other field formatting
So when I create the control I pass a object that defines
the label, width and format of each column.
How do I use the format field (which is a string) to generically
format a any field the in the datatable.
mystring = dr.ToString(myheader.Format];
Something like that is what I want to do.
But ToString doesn't support format
any ideas
rotsey.