Re: New line code doesn't work
From: Richard A. Lowe (chadich_at_yumspamyumYahoo.com)
Date: 01/15/05
- Next message: Willy Denoyette [MVP]: "Re: Enable/ disable a LAN connection"
- Previous message: pnp: "Property grid custom object?"
- In reply to: STom: "New line code doesn't work"
- Next in thread: yyy: "re:New line code doesn't work"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 15 Jan 2005 11:10:06 -0600
You're doing the right thing, the command window just shows strings that way
(at least by default, maybe there's a way to change it?)
-- C#, .NET and Complex Adaptive Systems: http://blogs.geekdojo.net/Richard "STom" <stombiztalker@hotmail.com> wrote in message news:ucweBDy%23EHA.3376@TK2MSFTNGP12.phx.gbl... Here is the code I have: String strCmd = ""; strCmd = strCmd + "CREATE PROCEDURE GetAllModels2" + "\r\n"; strCmd = strCmd + "AS"; strCmd = strCmd + "BEGIN" + "\r\n"; strCmd = strCmd + "SELECT * FROM tblModels" + "\r\n"; strCmd = strCmd + "END" + "\r\n"; strCmd = strCmd + "GO"; When I look at strCmd in the command window, I still see the \r\n characters. I want new lines. Am I doing something wrong here? Thanks. STom
- Next message: Willy Denoyette [MVP]: "Re: Enable/ disable a LAN connection"
- Previous message: pnp: "Property grid custom object?"
- In reply to: STom: "New line code doesn't work"
- Next in thread: yyy: "re:New line code doesn't work"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|