Identifier expected?-VBForums
Results 1 to 2 of 2

Thread: Identifier expected?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    14

    Identifier expected?

    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

    Imports System
    Imports System.Collections
    Imports System.Web.UI
    Imports System.Web.UI.WebControls
    Imports System.Web.UI.HtmlControls
    Imports System.Configuration
    Imports Microsoft.VisualBasic


    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> "


    Else

    testing.Text = strTest

    End If

    End Sub

    End Class



    That is what I have so far. Any suggestions or ideas to make this more efficient would be greatful.



    Thank you,



    Robert

  2. #2

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    14

    Re: Identifier expected?

    Ah, figured it out, niffty



    & vbNewLine & _



    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.