We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
<% connectionComplete = "false" On Error Resume Next If err.Number = 0 Then if myConn.State = 1 then On Error Goto 0 Set press_cmd = Server.CreateObject ("ADODB.Command") press_cmd.ActiveConnection = myConn press_cmd.CommandText = "SELECT * FROM dbo.k4kPressRelease ORDER BY date DESC" press_cmd.Prepared = true On Error Resume Next If err.Number = 0 Then Set press = press_cmd.Execute connectionComplete = "true" press_numRows = 0 end if end if else connectionComplete = "false" ' Error trapping - connection failed end if %>
Join the community of 500,000 technology professionals and ask your questions.