如何使用asp在自己的网站建立投票机制(1)

投票

一个很不错的建立自己的投票系统的ASP程序
大家仔细读读,只要能够理解中间的关键技术
就能够在自己的网站上建立自己的投票站了。
文件整理得很仓促,希望大家谅解。
版权所有:
ASP Polls
version 1.0
Tipped Cow Development and Adrenalin Labs
结构简单介绍:
ACCESS数据库设计结构:
poll表主要字段名称:PollName,PollCreator,PollQuestion,Password,Choice1,Choice2
Choice3,Choice4,Choice5,ID(自动编号),GetName
pollresults表字段:PollID,PollAnswer,Name
1.文件db.inc
<%
   Application("ASP_Poll") = "ASP_Poll"
      cnString = "DRIVER={Microsoft Access Driver (*.mdb)}; "
      cnString = cnString & "DBQ=" & Server.MapPath("Events.mdb")
      Application("ASPPollDSN") = cnString
%>
1.文件creat_poll1.asp
<% Title="Poll Generator" %>
<head> <link rel="STYLESHEET" type="text/css" href="style.css">
<title><%=Title%></title>
</head>
<body>
<div align="left"><img src=http://www.163design.net/a/y/"asp_poll.gif" width="231" height="90"><br>Another joint product from <a href="http://www.ncws.com/tippycow">Tipped Cow Development</a> and <a href="http://dstoflet.calweb.com">Adrenalin Labs</a>
<br><br>
</div>
<center>

<%
   Response.Write "<font face='arial'>"
   If Request("errormessage") <> "" Then
      Response.Write "<b>Error! </b>" & Request("errormessage")
   Else
      Response.Write "Please complete the form below to begin creating your own poll."
   End If
%>

<br><br>
<table border=2 cellspacing=0 cellpadding=0><tr><td>
<form method="post" action="create_poll2.asp">

<table border=0 cellspacing=0 cellpadding=10 width=500><tr>
  <td colspan=2 bgcolor=#000000 align=center class="bold2">
   Enter Your Name as the Poll Creator
  </td>
</tr><tr>
  <td bgcolor=#ffffff width=25% class="bold">Poll Creator:</td>
  <td bgcolor=#ffffff>
   <input type="text" name="creator" value="<%=Request("creator")%>" size=20 class="input">
  </td>
</tr>
</table>

</td></tr>
<tr><td>

<table border=0 cellspacing=0 cellpadding=10 width=500><tr>
  <td colspan=2 bgcolor=#000000 align=center class="bold2">
   Create a Password For Your Poll So That You Can Modify It At A
   Later Time
  </td>
</tr><tr>
  <td bgcolor=#ffffff width=25% class="bold">Poll Admin Password:</td>
  <td bgcolor=#ffffff>
   <input type="password" name="password" value="<%=Request("password")%>" size=10 maxlength=10 maxsize=10 class=input>
  </td>
</tr>
</table>

</td></tr>
<tr><td>

<table border=0 cellspacing=0 cellpadding=10 width=500><tr>
  <td colspan=2 bgcolor=#000000 align=center class="bold2">
   Give Your Poll a Unique Name
  </td>
</tr><tr>
  <td  bgcolor=#ffffff width=25% class="bold">Poll Name:</td>
  <td bgcolor=#ffffff>
   <input type="text" name="name" value="<%=Request("name")%>" size=20 class=input>
  </td>
</tr>
</table>

<table border=0 cellspacing=0 cellpadding=10 width=500><tr>
  <td colspan=2 bgcolor=#000000 align=center class="bold2">
   Do you want to have the user enter their name?
  </td>
</tr><tr>
  <td  bgcolor=#ffffff width=25% class="bold">

时间: 2024-09-20 00:45:56

如何使用asp在自己的网站建立投票机制(1)的相关文章

如何使用ASP在自己的网站建立投票机制(一)

Batman 翻译整理     一个很不错的建立自己的投票系统的ASP程序大家仔细读读,只要能够理解中间的关键技术,就能够在自己的网站上建立自己的投票站了.文件整理得很仓促,希望大家谅解.版权所有:ASP Pollsversion 1.0Tipped Cow Development and Adrenalin Labs结构简单介绍:ACCESS数据库设计结构:poll表主要字段名称:PollName,PollCreator,PollQuestion,Password,Choice1,Choice

怎样使用ASP在自己的网站建立投票机制(一)

投票 Batman 翻译整理 一个很不错的建立自己的投票系统的ASP程序大家仔细读读,只要能够理解中间的关键技术,就能够在自己的网站上建立自己的投票站了.文件整理得很仓促,希望大家谅解.版权所有:ASP Pollsversion 1.0Tipped Cow Development and Adrenalin Labs结构简单介绍:ACCESS数据库设计结构:poll表主要字段名称:PollName,PollCreator,PollQuestion,Password,Choice1,Choice2

以前搜集的一些资料---如何使用asp在自己的网站建立投票机制(1)

一个很不错的建立自己的投票系统的ASP程序大家仔细读读,只要能够理解中间的关键技术就能够在自己的网站上建立自己的投票站了.文件整理得很仓促,希望大家谅解.版权所有:ASP Pollsversion 1.0Tipped Cow Development and Adrenalin Labs结构简单介绍:ACCESS数据库设计结构:poll表主要字段名称:PollName,PollCreator,PollQuestion,Password,Choice1,Choice2Choice3,Choice4,

如何使用asp在自己的网站建立投票机制(2)

投票 4.文件default.asp<%   ID = Request("ID")   If ID = "" Then       ID = 30   End If   Title = "Polls (Create your own poll)"%> <html> <head><link rel="STYLESHEET" type="text/css" href=&

如何使用ASP在自己的网站建立投票机制(二)

Batman 翻译整理 4.文件default.asp<%   ID = Request("ID")   If ID = "" Then       ID = 30   End If   Title = "Polls (Create your own poll)"%> <html> <head><link rel="STYLESHEET" type="text/css&quo

怎样使用ASP在自己的网站建立投票机制(二)

投票 Batman 翻译整理 4.文件default.asp<% ID = Request("ID") If ID = "" Then ID = 30 End If Title = "Polls (Create your own poll)"%> <html> <head><link rel="STYLESHEET" type="text/css" href=&qu

建立你网站的投票机制![翻译]

投票 如何使用ASP在自己的网站建立投票机制(一) 翻译整理 一个很不错的建立自己的投票系统的ASP程序大家仔细读读,只要能够理解中间的关键技术,就能够在自己的网站上建立自己的投票站了.文件整理得很仓促,希望大家谅解.版权所有:ASP Pollsversion 1.0Tipped Cow Development and Adrenalin Labs结构简单介绍:ACCESS数据库设计结构:poll表主要字段名称:PollName,PollCreator,PollQuestion,Password

ASP.NET多频道网站开发架构浅析和实现方法

我们打开门户网站时,往往会看到很多排列紧密的频道列表,如"新闻"."财经"."娱乐"等.频道为网站提供了方便的导航功能. 知识准备 本文中提到的各架构方案均基于MVC(Model-View-Controller)模式,对该模式中各组成部件作如下简短描述: ◆Model:包含业务逻辑操作以及数据访问操作 ◆View:包含UI处理相关操作 ◆Controller:控制并协调View与Model的处理过程 各方案比较 方案 架构描述 代码重用性 开发方

代码-菜鸟提问:关于网站建立的树系统解析

问题描述 菜鸟提问:关于网站建立的树系统解析 菜鸟一名,想请大师概念式系统的描述下网站制作需要的软件(如果知道相同功能的软件最好指出软件之间的不同之处),以及需要学习的代码和代码所实现的功能.谢谢 比如 首选要学习html,它在网页中充当什么角色,实现什么功能,编辑软件常用的是哪些,各自有什么不同之处 其次要学习------ 不胜感激 解决方案 cmcc c++ 解决方案二: 首选要学习 html 它是目前网络上应用最为广泛的语言,也是构成网页文档的主要语言.HTML文件是由HTML命令组成的描