0
 foreach (string TempSize in sizeArr)
            {
                txtResult.Text += store + "\t" + attributeSet + "\t" + configurableAttri + "\t" + type + "\t" + (ID + "_" + TempColour + TempSize) + "\n";
            }

I am trying to generate Multiple Rows that i can use to paste into excel file. "\n" doesn't seem to show on the "new line" of the textbox.

I tried manually doing "\n" aka shift+enter and copy paste the 3 rows into excel, Excel place a empty space between each of them, anyway to remove that problem too?

Thanks in advance!

1
  • Problem Fixed with "\r\n" instead of "\n" hat's how Windows controls represent newlines Commented Mar 3, 2013 at 19:03

1 Answer 1

1

Problem Fixed with "\r\n" instead of "\n" hat's how Windows controls represent newlines

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.