2010年4月19日
摘要: 1,技术要点可以利用windows的open和closed来对子窗口的控制应用领域:需要父窗口和子窗口之间进行互动。代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXH... 阅读全文
posted @ 2010-04-19 17:01 wtq 阅读(518) 评论(0) 推荐(0) 编辑
  2010年4月15日
摘要: ,使用横幅广告来实现页面的不同显示方式。即每一次登入时,将显示不同的页面效果:如图:后台代码如下:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transit... 阅读全文
posted @ 2010-04-15 10:48 wtq 阅读(2564) 评论(0) 推荐(2) 编辑
摘要: 1,只用JavaScript显示时钟图:如下:后台代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1设置显示一个时间2;3代码如下:456<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transiti... 阅读全文
posted @ 2010-04-15 10:43 wtq 阅读(640) 评论(0) 推荐(0) 编辑
  2010年4月11日
摘要: 投票系统管理界面:其源代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<%@ControlLanguage="C#"AutoEventWireup="true"CodeFile="ManageVote.ascx.cs"Inherits... 阅读全文
posted @ 2010-04-11 22:48 wtq 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 1,本投票系统通过博客Id获取用户Id,再通过用户ID获取投票主题界面如下:后台代码如下:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<%@ControlLanguage="C#"AutoEventWireup="true"CodeF... 阅读全文
posted @ 2010-04-11 22:42 wtq 阅读(1236) 评论(0) 推荐(0) 编辑
  2010年4月9日
摘要: 1,行列样式:[代码]2,内嵌式:(包含三种标记选择器)代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<styletype="text/css">23456.red7{8color:#C00;9font-size:18px;1011... 阅读全文
posted @ 2010-04-09 11:09 wtq 阅读(4203) 评论(0) 推荐(0) 编辑
摘要: 1,在使用ID选择器时,一定要注意在一个html页面中,一次只能使用,因为此id可能被css调用,也可能被javascript调用,例如函数getElementById(),确保ID唯一,才不会在被调用时,产生冲突。因为同时又两个相同的id,不知道要调用哪一个。[代码]8{9color:yellow;10}示例,[代码][代码] 阅读全文
posted @ 2010-04-09 10:08 wtq 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1.很多时候页面中几乎所有的<p>标记都使用相同的样式风格,只有1`2个特殊的<p>的标记需要使用不同的风格来突出,这时可以通过class选择器与标记选择器配合使用,具体代码如下:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/... 阅读全文
posted @ 2010-04-09 09:37 wtq 阅读(211) 评论(0) 推荐(0) 编辑
  2010年4月8日
摘要: 投票系统数据库设计1,数据库设计:投票管理界面:后台代码如图:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddVot... 阅读全文
posted @ 2010-04-08 17:32 wtq 阅读(1376) 评论(0) 推荐(2) 编辑
  2010年3月26日
摘要: 自定义数据库操作类:如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Web;usingSystem.Web.... 阅读全文
posted @ 2010-03-26 12:54 wtq 阅读(349) 评论(0) 推荐(0) 编辑