摘要: 事件源对象event.srcElement.tagNameevent.srcElement.type捕获释放event.srcElement.setCapture();event.srcElement.releaseCapture();事件按键event.keyCodeevent.shiftKeyevent.altKeyevent.ctrlKey事件返回值event.returnValue鼠标位置event.xevent.y窗体活动元素document.activeElement绑定事件document.captureEvents(Event.KEYDOWN);访问窗体元素document.a 阅读全文
posted @ 2011-03-31 16:49 xfyn 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 在链接的后面加 /64m或 /64memo 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" cont 阅读全文
posted @ 2011-03-31 16:13 xfyn 阅读(242) 评论(0) 推荐(0) 编辑
摘要: Window对象是客户端javascript最高层对象之一,只要打开浏览器窗口,不管该窗口中是否有打开的网页,当遇到BODY、FRAMESET或FRAME元素时,都会自动建立window对象的实例。另外,该对象的实例也可由window.open()方法创建。由于window对象是其它大部分对象的共同祖先,在调用window对象的方法和属性时,可以省略window对象的引用。例如:window.document.write()可以简写成: document.write()。 在窗口中觖发本窗口对象的任何方法和属性时可以省去窗口的实例名称。例如给当前的myWin窗口设置status属性时,可以只用 阅读全文
posted @ 2011-03-31 13:07 xfyn 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 前进一页onclick="javascript:window.history.forward()"后退一页onclick="javascript:window.history.back();"前进/后退 n页n为正是前进,负数是后退onclick="javascript:window.history.go(n);"刷新onclick="window.location.reload();" 阅读全文
posted @ 2011-03-31 11:55 xfyn 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Data; 3 using System.Data.SqlClient; 4 5 using System.Collections; 6 7 namespace DAL 8 { 9 /// <summary> 10 /// DataBase 的摘要说明。 11 /// </summary> 12 public class DataBase 13 { 14 private SqlConnection conn; 15 private string _connString = null; 16 public st 阅读全文
posted @ 2011-03-31 11:02 xfyn 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Data; 6 using System.Web.UI.WebControls; 7 /// <summary> 8 ///GridViewMergeCell 合并GridView liyang 20090916 9 /// </summary> 10 public class GridViewMergeCell 11 { 12 public GridVie 阅读全文
posted @ 2011-03-31 09:35 xfyn 阅读(336) 评论(0) 推荐(0) 编辑