hi,
I want to populate a dropdownlist from an array of integers
of two digit maximum.
suppose we have these numbers 1, 2 , 15 ,....
i want the numbers to be displayed in this format:
01,02,15....
so I was using the DataTextFormatString property, but I couldn't reach
the desirable result.
According to the SDK documentation,
DataTextFormatString = "{0:D2}" should resolve the probem.
but it doesn't. it's generating a System.FormatException: Format
specifier was invalid. I tried other formats using F, G... but i
couldn't get the wanted result but at least they didn't generate an
exception.
can anyone help?
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!