[책펌] MS-SQL의 SELECT문 예제
<% Set ConnDB = Server.CreateObject(“ADODB.Connection”) ConnDB.Open = “DSN=bruce;UID=bruce;PWD=1111” strSQL = “SELECT * FROM tblMember” Set objRs = ConnDB.Execute(strSQL) Do While objRs.EOF = False Response.Write objRs(“name”) & ” ” Response.Write objRs(“email”) & “<br>” objRs.MoveNext Loop objRs.Close ConnDB.Close Set objRs = Nothing Set ConnDB = Nothing %> ### 참고 : EOF와 BOF 에 관하여 ### ### 출처… Read More »