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
mike Delvotti
NA
262
0
Format to currency on print page
Sep 13 2012 12:04 PM
Is there a way i can format to a curruncy figure on print page? my subtotal field is output to a number format as ("F2") and i need it like this to save in that format to the DB.
However, I would like it to print to a page as format ("c"), i.e. can i convert my code below to pass the text field 'subtotalTextBox' as ToString("c")
using e.Graphics.DrawString(subtotalTextBox.Text, font,
(
Font
font =
new
Font
(
"Arial"
, 10))
SystemBrushes
.WindowText, e.PageBounds.X + 687, 940);
Reply
Answers (
2
)
instantiate class
C# console app calls a web service