Wednesday, July 2, 2008

Let's Talk about .. Visual Stuido 2005-Currency format in Grid view

      Since I use a grid view to show my data, it shows the numeric data without comma and currency symbols. Thus, I searched the method and found that this website provides the solution to me http://forums.msdn.microsoft.com/ja-JP/vbgeneral/thread/88d1abd8-9a37-4f55-ac4d-52a82e14c46f/

    The solution is adding HtmlEncode="False" and DataFormatString="{0:c} in to the code.

    For example,


    No comments: