Results 1 to 2 of 2

Thread: BC30205: End of statement expected.

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2014
    Posts
    1

    BC30205: End of statement expected.

    hello

    please find and try to help me about this problem> at this file ( Global.asax ) and you can check my website: http://www.almusairiey.com



    Compiler Error Message: BC30205: End of statement expected.

    Source Error:


    Line 16:
    Line 17: Function GetParentDir() As String
    Line 18: Dim PD String = Server.MapPath("db\")
    Line 19: PD = System.IO.Directory.GetParent(PD).ToString & "db\"
    Line 20: Return PD

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    105,430

    Re: BC30205: End of statement expected.

    Should that maybe be:
    Code:
    Dim PD As String = Server.MapPath("db\")

Posting Permissions

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



Click Here to Expand Forum to Full Width