home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ispoll_1 / _setup.1 / Export.asp < prev    next >
Encoding:
Text File  |  1999-03-18  |  678 b   |  19 lines

  1. <% Response.Buffer = True %>
  2. <HTML>
  3. <BODY><H1>Sample PollCat Poll</H1>
  4. <H4>This sample shows how you can draw a table with borders turned on to give the poll a cell to draw its elements.  The component is instantiated in a table cell.  
  5. Set the poll ID and you are done.<P>
  6. You will need to delete your cookie to get the poll to come up again in input mode.</H4>
  7. <TABLE WIDTH=70 BORDER=1>
  8.     <TR><TD valign=top>
  9.     <% Set PollCat = Server.CreateObject("isPollCat.UI")
  10.         PollCat.DataPath = "e:\data\polldata\"
  11.         'PollCat.ResultsOnly = True
  12.         'PollCat.ShowTotals = False
  13.         'PollCat.ID = 1 
  14.         PollCat.ExportData 1
  15.         Set PollCat = Nothing    
  16.     %>
  17. </TABLE>
  18. </BODY>
  19. </HTML>