KU
Kulvir
March 24, 2005 10:44 PM UTC
Try setting the cell to static:
style.CellType = "Static";
>Hi,
>
>I have a databoundgrid with a datetime column. I used
>
>GridStyleInfo style = grid.Binder.InternalColumns["Time"].StyleInfo;
>style.CellValueType = typeof(DateTime);
> style.Format = "HH:mm";
>
>After that, the cells still show as a dropdown calendar. How can I make it just like a textbox but with datatime type, so I can sort it by time?
>Thanks a lot
>
>Chris