This question is locked. New answers and comments are not allowed.
I'm trying to inherit from GridViewDataColumn to create a column type called GridViewShortDateColumn so that a format string or converter doesn't have to be specified every time.
I've tried this
But the format string doesn't have any effect.
I've tried this
| public class GridViewShortDateColumn : GridViewDataColumn |
| { |
| public GridViewShortDateColumn() |
| : base() |
| { |
| this.DataFormatString = "{0:MM/dd/yyyy}"; |
| } |
| } |
But the format string doesn't have any effect.
