Asp to Asp.net

B

bob123

Hi I am new to this group. I am currently converting an asp application to
asp.net, I am getting this error and unable to fix it,

Compiler Error Message: BC30203: Identifier expected.

Source Error: line 299


Line 297:
Line 298:Line
299: sql =" SELECT TOP 25 tblEvent.case_no, tblEvent.entered_by AS Expr1,
tblEvent.offender_id, tblEvent.stu_id, tblEvent.date_of_event,
tblEvent.offendertype, " &_
Line 300: " tblLKP_Location.Location,
tblLKP_Offender_type.Offender_type " &_
Line 301: " FROM tblEvent INNER JOIN " &_

I am bit confused, if some one could help me out it would be great.thanx
 
B

Brendan Reynolds

You're missing the spaces between the '&' and '_' characters ...

.... this ...
offendertype, " &_ '<- no space between & and _
.... needs to be this ...
offendertype, " & _ '<- space between & and _

etc.
 
Top