Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

how to fix the design in C#

Avatar of ammartahir1978
ammartahir1978Flag for United Kingdom of Great Britain and Northern Ireland asked on
Web Development Software.NET ProgrammingC#
5 Comments1 Solution371 ViewsLast Modified:
hi all i have a code which is sending details to users in an email but when user recieve the emal its not aligned properly can you please help here is the code: and also attached the image from email to user and in there you can see there a mis alignment which headings.

now what i want is to keep heading aligned and user iputted value come after the :


System.Collections.Specialized.NameValueCollection nvc = new System.Collections.Specialized.NameValueCollection();
				nvc.Add("Customer Refernce",req.CUSTOMER_REF);
				nvc.Add("Delivery Address",req.DELIVERY_ADDRESS);
				nvc.Add("Invoice Address",req.INVOICE_ADDRESS);
				nvc.Add("Purchase Order - 101",req.PURCHASE_ORDER);
				nvc.Add("Purchase Order - 104",req.FUTURE_FIELD_1);
				nvc.Add("Department Reference",req.DEPARTMENT_REFERENCE);
				nvc.Add("Department Code",req.DEPARTMENT_CODE);
				nvc.Add("Dispatch Date",txtDispatchDate.Text);
				nvc.Add("Delivery Reference",req.DELIVERY_REFERENCE);
				nvc.Add("Reason Request",req.REASON_REQUEST);
				nvc.Add("Sample Form Completed By",req.SAMPLE_FORM_COMPLETED_BY);
				nvc.Add("Print Name",req.PRINT_NAME);
email-to-user.jpg
ASKER CERTIFIED SOLUTION
Avatar of Amandeep Singh Bhullar
Amandeep Singh BhullarFlag of India image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answers