摘要: <style type="text/css"><!-- div {position:absolute;top:50%;left:50%;margin:-150px 0 0 -200px;width:400px;height:300px;border:1px solid #008800;}--></style><div>让层垂直居中于浏览器窗口<... 阅读全文
posted @ 2010-11-13 21:21 zgz_dpl 阅读(196) 评论(0) 推荐(0) 编辑
摘要: <style>.first {background:#666;}.gray {background:red;}</style><div class="first" onmouseover="this.className='gray'" onmouseout="this.className='first'">www.aa25.cn</div> 阅读全文
posted @ 2010-11-13 21:20 zgz_dpl 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1. oncontextmenu="window.event.returnvalue=false" 将彻底屏蔽鼠标右键<table border oncontextmenu=return(false)><td>no</table> 可用于Table2. <body onselectstart="return false"> 取消选取、防止复制3. o... 阅读全文
posted @ 2010-11-13 21:19 zgz_dpl 阅读(331) 评论(0) 推荐(0) 编辑
摘要: (由于书上的代码全是用C#写的,转换为VB.NET实在麻烦,以后就不转换了,见谅)五、操纵dataset在DataSet中DataRow是其所有数据的基本存放位置,它主要是由一个值数组组成,代表DataTable单独一行。DataRow中主要包括一下几种信息:1、行中每一列的当前值,2、行中每一列的原始值,3、行状态,4、父行与子行间的链接初始化一个DataRow:DataTable dataTa... 阅读全文
posted @ 2010-11-13 21:18 zgz_dpl 阅读(4952) 评论(0) 推荐(1) 编辑
摘要: protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { GridView1.ShowFooter = true; } protected void OK_Click(object sender, EventArgs e) {... 阅读全文
posted @ 2010-11-13 21:16 zgz_dpl 阅读(3934) 评论(0) 推荐(0) 编辑