Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Format to currency on print page
mike Delvotti
Sep 13 2012 12:04 PM
1.7k
Reply
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);
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Scheduling Windows Service from Task Manager
C# console app calls a web service