?? test.asp
字號:
<%@ Language=VBScript %>
<%
set conn = server.createobject ("adodb.connection")
conn.open "ASPData", "sa", "yourpassword"
'set RSEmails = conn.Execute("select Name, EmailAddress from PSLogins")
set RSEmails = conn.Execute("select EmailAddress from PSLogins where Department = '研發部' ")
'set RSEmails = conn.Execute("select Name, EmailAddress from PSLogins where Position = '" & Request.Form("PositionName") & "'")
'conn.Execute "Insert Into VotingQuestions (SenderName, Subject, Question, WhenSent) " _
' & "values (" _
' & "" & Session("Name") & ", " _
' & "'" & Request.Form("Subject") & "', " _
' & "'" & Request.Form("Question") & "', " _
' & "'" & CurrentDateTime & "')"
'set RSQuestionID = conn.Execute("select QuestionID from VotingQuestions " _
' & "where WhenSent = #" & CurrentDateTime & "#")
do Until RSEmails.eof
'Response.write RSEmails("Name") & chr(13)
Response.write RSEmails("EmailAddress") & chr(13)
RSEmails.MoveNext
loop
set RSDepartments = conn.Execute("select * from 部門信息 where 部門名稱 <>'All' order by 部門名稱")
set PSPositions = conn.Execute("select PositionName from Positions order by PositionID")
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -