Hi Nadya
I haven't got any dates in grids to test this on but how about:
The date in the grid is in a text box, right?
Set the DateFormat property to American. I believe only format 0 and the long & short date options obey set century.
HTH
Terry
UPDATE: Oh, I read your question as you only wanted a 2-digit year. Now I'm not sure.
>Hi everybody,
>
>If I set century on, how can I still display only 2 digits in date field in the grid? Should I set format property for this column to be YS? Is it the only possible solution (I don't want to use special textbox class in the grid)?
>
>Thanks in advance.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.