%
' Any page with voting results should have an include to Functions.asp
%>
<%
' Also place this function on the page somewhere, then call it as shown in the BODY
Function VoteCount(lngVotingProductID)
Set conVoteCount = Server.CreateObject("ADODB.Connection")
conVoteCount.Open SQLConnectString
Set rsVoteCount = Server.CreateObject("ADODB.Recordset")
rsVoteCount.Open "Exec uspGetVotesForProduct " & lngVotingProductID, conVoteCount, 0, 1
If rsVoteCount.EOF Then
VoteCount = 0
Else
VoteCount = rsVoteCount("VoteCount")
End If
rsVoteCount.Close
Set rsVoteCount = Nothing
conVoteCount.Close
Set conVoteCount = Nothing
End Function
%>
Connect-A-Dock - New Products
<%
' And you will need a popup function like this one or your own
%>
|
|
 |
2000 Series New Products |
|
|
|
| |
|
|
| Top of Page |
For more information contact: info@connectadock.com |
If you have a challenge, challenge us! |
We are committed to superior quality products and service.
Your satisfaction is guaranteed.
In order to serve you better, we offer secure online ordering.
|
 |
|
|
|
 |