FastRodas Posted April 21, 2004 Posted April 21, 2004 Hi to all Xtremers, :confused: I am trying to send an email with the result of a form. some fields are currency. i can format it on my page, but when i email it the format is remove. i format it like this String.Format("{0:c}",reader.Item("saleAmount")) but the result of my emails is 11.114,00 ? this is the way i define my mail properties objEmail.To = MailTo objEmail.From = From 'objEmail.Cc = txtCc.Text objEmail.Subject = subject objEmail.Body = Mailbody objEmail.Priority = MailPriority.Normal objEmail.BodyFormat = MailFormat.Html the body of my email starts like this Body = "<html><head><title>Encomenda</title><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>" any idea to solve this? thkx Quote
Administrators PlausiblyDamp Posted April 21, 2004 Administrators Posted April 21, 2004 the {0:c} will generate formatting based on your regional settings, what is your PC configured to use as its locale? Is it the correct one and if so does the formatting match with what you are getting? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.