473,320 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

display names in new line .enviorment.newline

hi
I am writing this:

Expand|Select|Wrap|Line Numbers
  1. if (!countForChildSupplier.Equals(SysXConsts.NONE))
  2.                 {
  3.                     errorMessage = "Please reject these supplier changes as listed child supplier(s) is/are already mapped with other supplier(s)." + Environment.NewLine;
  4.                     duplicateChildSuppliers.ForEach(item =>
  5.                         {
  6.                             errorMessage = errorMessage + item + Environment.NewLine;
  7.                         });
  8.                     errorMessage = errorMessage.Substring(SysXConsts.NONE, errorMessage.Length - SysXConsts.ONE);
  9.                     errorMessage = errorMessage + "." + Environment.NewLine;
  10.                 }
I want the names of the item in new line ,but it is not being displayed.
Nov 19 '12 #1
0 1423

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bob | last post by:
When displaying data from the database, very often the field names are not suitable so custom headings have to be created, For example, the column storing zip code may be named zip, but when...
11
by: rossum | last post by:
I want to declare a const multi-line string inside a method, and I am having some problems using Environment.NewLine. I started out with: class foo { public void PrintStuff() { const...
1
by: Michael R | last post by:
Hello. I have a rather simply question - how to display a line number in an empty control of a continous form? I can't use totals query for that form. Thanks, Michael.
2
by: AZRebelCowgirl73 | last post by:
Crazy as this sounds this program is actually working! I know I know it is amazing I got one to run. The only problem I am having is I want it to say for output line (1,2 3 etc.) has a length...
12
by: Matt F | last post by:
I'm creating simple ping script that prompts a user for various parameters. However, I would like each line of the ping displayed as it is received. Currently, the result isn't displayed until...
1
by: ashwath | last post by:
Hi, I am relatively new to Windows forms, i am using a listbox to show items in Compact Framework 2.0. I want to display something of this sort Name: John ...
4
by: dipperdan | last post by:
Hi, I am working on a plant database and I need some help with a query that i *thought* shouldn't have been too hard =\ I am trying to create a query that will display the names contained in 4...
2
by: amulyab | last post by:
Hi all, I want to display the line numbers for the text which resides inside the text field.How can i do this?Please help me.
3
by: npm | last post by:
Given that x.length is whatever number (let's say 20), then why does this: <script type="text/javascript"> xmlDoc = loadXMLDoc("stations.xml"); x = xmlDoc.getElementsByTagName('city'); for...
2
pod
by: pod | last post by:
let's see how fast I get an answer for this, ... I am still searching the menus in the mean time
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.