TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
onez
NA
73
0
Hashtable value formating into textbox
Aug 14 2004 9:06 PM
I am having trouble displaying a hashtable value into a richtextbox. I want to display a double number as a currency format. double PriceD = Stats["Price"]; // this doesn't work although the type is double, so... string PriceDS = Stats["Price"].ToString(); double PriceD = double.Parse(PriceDS, System.Globalization.NumberStyles.Any); OutputBox.AppendText("Float: {0, 6:C}", PriceD); // this works in console, not textbox // says PriceD has already been declared
Reply
Answers (
1
)
interactively validating user input in the .net textbox
VB.NET vs. PHP or ASP