I facing some problem with adding the Indian Rupee Symbol (Recently the Indian Government released Symbol for Rupee) as a string in C#.Net, Asp.Net and Visual Studio 2008 Environment.
Here, I am explaining the exact problem with my coding.
String indianRupee = “Here I need to assign the Indian Rupee Symbol”. (This is Coding in C#.Net)
Response.Write(indianRupee);
-- Here I need to show Indian Rupee Symbol like Dollar Symbol in my web page
Response.Write(“$
45.00”); -- It will display $ 45.00.
I able to get this Symbol in notepad, Word and Excel by reading some articles, But I failed to get this in C#.Net and Visual Studio 2008 Environment.
Up to my knowledge, I have two options. One i have to maintain this symbol as a Image and where ever i want that symbol, use picture control to display this image.
Second, this image i have to maintain in database in the form of binary code, in C# we need to convert from binary to into picture and then use picture control to show that image.
But, problem in both options is in my application the image is not constant image means some times the symbol is in blue color with small size and some times red in color with
mediam, large sizes etc. The view of image will vary depand on the page and business requrement. I don't want to maintain all possible of images in Images folder. I guess it is not good practice to maintain such possible images in image folder.
Suggest one best way to solve this problem. Any suggestions are greatly
appreciated.
pavankumar.c...
0 Points
1 Post
How to get Indian Rupee Symbol in C#.Net, Asp.Net and Visual Studio 2008 Environment
Sep 30, 2010 12:04 PM|LINK
Hi,
I facing some problem with adding the Indian Rupee Symbol (Recently the Indian Government released Symbol for Rupee) as a string in C#.Net, Asp.Net and Visual Studio 2008 Environment.
Here, I am explaining the exact problem with my coding.
String indianRupee = “Here I need to assign the Indian Rupee Symbol”. (This is Coding in C#.Net)
Response.Write(indianRupee); -- Here I need to show Indian Rupee Symbol like Dollar Symbol in my web page
Response.Write(“$ 45.00”); -- It will display $ 45.00.
I able to get this Symbol in notepad, Word and Excel by reading some articles, But I failed to get this in C#.Net and Visual Studio 2008 Environment.
I read this link http://www.dotnetfunda.com/articles/article954-how-to-use-new-rupee-symbol-of-india-in-silverlight-.aspx , but it is working for only Silverlight and VisualStuadio Environment.
Up to my knowledge, I have two options. One i have to maintain this symbol as a Image and where ever i want that symbol, use picture control to display this image.
Second, this image i have to maintain in database in the form of binary code, in C# we need to convert from binary to into picture and then use picture control to show that image.
But, problem in both options is in my application the image is not constant image means some times the symbol is in blue color with small size and some times red in color with mediam, large sizes etc. The view of image will vary depand on the page and business requrement. I don't want to maintain all possible of images in Images folder. I guess it is not good practice to maintain such possible images in image folder.
Suggest one best way to solve this problem. Any suggestions are greatly appreciated.
It’s very urgent for us.
Thanks in advance………