Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataFormatString of DataGrid column
Message
 
 
To
07/04/2005 17:58:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01002438
Message ID:
01002566
Views:
23
>>I want to format a datagrid column which has a numeric value to appear as 6-digit number with leading zeros. E.g.:
>>
>>034555
>>000333
>>000003
>>008674
>>
>>What is the value I should use in the DataFormatString property?
>>
>>Thank you in advance for any help.
>
>I think this would do:
>
>{0:000000}
>

Cetin,

Thank you for your suggestion. When I tried to apply your code I realized (with the help of error from .net <g>) that HyperLinkColumn does not have property DataFormatString. So I will have to go through properties of HyperLinkColumn to see if there is
something equivalent to DataFormatString.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform