Sep 11th, 2006, 05:29 PM
Hello all, I am new at this, but I would like to know if there is an operator or some way to continue a constant string on a new line, so its not as tough to read for whomever looks at the code?
Option Strict Off
Public Class MyCodeBehind : Inherits Page
Public Title As System.Web.UI.WebControls.Label
Public test As System.Web.UI.WebControls.TextBox
Public testing As System.Web.UI.WebControls.Label
Public Sub Page_Load()
Dim StrParamData = Request.QueryString("display_page")
Dim strTest = "Hello World"
Dim content1 = StrParamData
If StrParamData = "2" Then
testing.Text = "<div class=maintitle>Step 1 : Are You Ready? </div><br> " &_
"<p>Knowledge and experience are the keys to successful real estate transactions. REALTOR.comŪ contains an enormous amount of valuable information, and such data -- combined with the expertise, experience and training of local REALTORSŪ -- can be the essential keys to your success.</p> <p>One of the keys to making the homebuying process easier and more understandable is planning. In doing so, you'll be able to anticipate requests from lenders, lawyers and a host of other professionals. Furthermore, planning will help you discover valuable shortcuts in the homebuying process. </p> "
testing.Text = strTest
That is what I have so far. Any suggestions or ideas to make this more efficient would be greatful.
Sep 11th, 2006, 05:54 PM
Re: Identifier expected?
Ah, figured it out, niffty
& vbNewLine & _
Click Here to Expand Forum to Full Width
Survey posted by VBForums.