Expected end of statement??
Hejsa..Jeg har et lille problem....
Kan i se fejlen:
<%
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath("/db/main.mdb")
Conn.Open DSN
strSQL = "Select * from nyheder"
Set rs = Conn.Execute(strSQL)
Do
Response.Write "<br><TABLE WIDTH=380 BGCOLOR=#376AC8 CELLSPACING=1 CELLPADDING=0 STYLE=border-style:dashed;border:thin;border-color:#C0C0C0;><tr><TD BGCOLOR=#286393 align=left><font size=2 face=verdana><b>" & rs("titel") & " - " rs("dato") & "</b></font></td></tr><tr><TD BGCOLOR=#287395 align=left><font size=2 face=verdana>" & rs("nyhed") & "</font></td></tr></table>"
rs.MoveNext
Loop While Not rs.EOF
Conn.Close
Set Conn = Nothing
%>
Jeg får denne fejlmelding:
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/Default.asp, line 237, column 229
//themaster
