I've right some code for ASP VB, and now I go with that code to ASP.NET (.aspx), and errors shows at moment! So, please help me , please!!
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30205: End of statement expected.
Source Error:
Line 164: sqlWhere = " where zipstart.ZipStart ='" & strZip & "'"
Line 165: qlStr = " select ChapterName.EmailAddress, ChapterName.ChapterName, Chaptername.City, ChapterName.ChapterState, ChapterName.Phone1, Chaptername.Phone2, ChapterName.ChapterState, ChapterName.ChapWebsite " _
Line 166: "from ChapterName inner join zipstart on Chaptername.ChapterCode = zipstart.ChapterCode " & sqlWhere ;
Line 167:
Line 168: rs = Server.CreateObject("ADODB.recordset")
Line 164 is with error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30205: End of statement expected.
Source Error:
Line 164: sqlWhere = " where zipstart.ZipStart ='" & strZip & "'"
Line 165: qlStr = " select ChapterName.EmailAddress, ChapterName.ChapterName, Chaptername.City, ChapterName.ChapterState, ChapterName.Phone1, Chaptername.Phone2, ChapterName.ChapterState, ChapterName.ChapWebsite " _
Line 166: "from ChapterName inner join zipstart on Chaptername.ChapterCode = zipstart.ChapterCode " & sqlWhere ;
Line 167:
Line 168: rs = Server.CreateObject("ADODB.recordset")
Line 164 is with error