OK, i understand the concept, but how would i code in a password below. Sorry my coding abilities are still rather novice. I am using a DSN connection
Code:
<%
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "attendance2004","",""
sql = "SELECT [staff].[fullname], [staff].[employeeno] FROM [staff] ORDER BY [staff].[fullname];"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql, conn, 3, 3
%>
I did a search on google for some examples and i found one on ASP101.com, but couldnt get it too work.