







//
设置字体跳转
< a href = " Default.aspx " class = " text " > Store Main Page </ a >
// 定义连接 传值
< area href = " Category.aspx?category_id=BIRDS " alt = " Birds " coords = " 408,133,514,239 " shape = " RECT " >
// 获取传过来的值 并显示
lblPage.Text = Request.QueryString[ " category_id " ];
// 获取一个值指示该页面验证是否成功
if (Page.IsValid == true )
// 判断ID值是否为--空字符串,此字段为只读字段
if (customerID == string .Empty)
// md5 密码加密,必须加此命名空间才能引用FormsAuthentication类
using System.Web.Security;
PassWord = FormsAuthentication.HashPasswordForStoringInConfigFile(PassWord, " md5 " ).ToLower().Substring( 8 , 16 );
// 弹出窗口并关闭
Response.Write( " <script>alert('弹出窗口');history.back();</script> " );
Response.End();
// 转换日期格式 或 {0:D}
Convert.ToDateTime(dr[ " UpDataTime " ]).ToLongDateString()
// 加入收藏
[ < A href = " javascript:window.external.addFavorite('http://www.cfedu.net','赤峰教育网'); " > 加入收藏 </ A > ]
// QQ留言
< A href = " http://wpa.qq.com/msgrd?V=1&Uin=1310800&Site=www.cfedu.net&Menu=yes "
target = " blank " >< IMG alt = " 点击给我QQ留言 " src = " Images/8_offline.gif " border = " 0 " ></ A >
// 在一个容器内找到控件,并转换类型
(类名)FindControl( " 要查找的ID " )
// 在Respeater控件 传值 并转换类型
< td >< a href = ' <%# "ShowNew.aspx?FileTitle=" +Server.UrlEncode((string)DataBinder.Eval(Container.DataItem,"FileTitle"))%> ' ><% # DataBinder.Eval(Container.DataItem, " FileTitle " ) %></ a >
< a href = " Default.aspx " class = " text " > Store Main Page </ a >
// 定义连接 传值
< area href = " Category.aspx?category_id=BIRDS " alt = " Birds " coords = " 408,133,514,239 " shape = " RECT " >
// 获取传过来的值 并显示
lblPage.Text = Request.QueryString[ " category_id " ];
// 获取一个值指示该页面验证是否成功
if (Page.IsValid == true )
// 判断ID值是否为--空字符串,此字段为只读字段
if (customerID == string .Empty)
// md5 密码加密,必须加此命名空间才能引用FormsAuthentication类
using System.Web.Security;
PassWord = FormsAuthentication.HashPasswordForStoringInConfigFile(PassWord, " md5 " ).ToLower().Substring( 8 , 16 );
// 弹出窗口并关闭
Response.Write( " <script>alert('弹出窗口');history.back();</script> " );
Response.End();
// 转换日期格式 或 {0:D}
Convert.ToDateTime(dr[ " UpDataTime " ]).ToLongDateString()
// 加入收藏
[ < A href = " javascript:window.external.addFavorite('http://www.cfedu.net','赤峰教育网'); " > 加入收藏 </ A > ]
// QQ留言
< A href = " http://wpa.qq.com/msgrd?V=1&Uin=1310800&Site=www.cfedu.net&Menu=yes "
target = " blank " >< IMG alt = " 点击给我QQ留言 " src = " Images/8_offline.gif " border = " 0 " ></ A >
// 在一个容器内找到控件,并转换类型
(类名)FindControl( " 要查找的ID " )
// 在Respeater控件 传值 并转换类型
< td >< a href = ' <%# "ShowNew.aspx?FileTitle=" +Server.UrlEncode((string)DataBinder.Eval(Container.DataItem,"FileTitle"))%> ' ><% # DataBinder.Eval(Container.DataItem, " FileTitle " ) %></ a >
//
鼠标移动显示的背景色
< tr style = " background:#FFFFFF " onMouseOut = " this.style.backgroundColor='#FFFFFF' " onMouseOver = " this.style.backgroundColor='#F2F2F2' " >
< td ></ td >
< td ></ td >
< td ></ td >
</ tr >
< tr style = " background:#FFFFFF " onMouseOut = " this.style.backgroundColor='#FFFFFF' " onMouseOver = " this.style.backgroundColor='#F2F2F2' " >
< td ></ td >
< td ></ td >
< td ></ td >
</ tr >