how to format a string in the templatecolumn
ASP.NET
4
Posts
3
Posters
0
Views
1
Watching
-
hi friends, i don't know how to format a templatecolumn. this is a number column, i ahve show this with commas and two digits after decimal.
I assume this is a template in a datagrid or similar control ? You can use string.Format, or any code you'd like, within the brackets where your databinding expression goes. Christian Graus - Microsoft MVP - C++
-
I assume this is a template in a datagrid or similar control ? You can use string.Format, or any code you'd like, within the brackets where your databinding expression goes. Christian Graus - Microsoft MVP - C++
-
hi graus, thanks for ur reply, the below coding is i am using.i had used "Formatstring" method to format the column. but it gives error. -- modified at 5:10 Tuesday 30th August, 2005