摘要:
向上滚动的代码:div id=demo style=overflow:hidden;height:100;width:90;background:#214984;color:#ffffffdiv id=demo1img src="http://www.baidu.com/img/logo.gif"img src="http://www.baidu.com/img/logo.gif"img src="http://www.baidu.com/img/logo.gif"img src="http://www.baidu.com/img/logo.gif"img src=" 阅读全文
摘要:
网页特效代码:符合标准的随滚动条滚动的广告代码,在滚动条右侧滚动!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"html xmlns="http://www.w3.org/1999/xhtml"headmeta http-equiv="Content-Type" content="text/html; charset=gb2312" /title符合标准的随滚动条滚动的广告代码dwww. 阅读全文
摘要:
如果无X,则Request.QueryString["x"]获得的是NULL 阅读全文
摘要:
UTF-8传递到 gb2312 HttpUtility.UrlEncode("要传递的字符参数",Encoding.GetEncoding("GB2312")) 阅读全文
摘要:
(转自:http://hi.baidu.com/cyj380236628/blog/item/7303c52ee0479e5c4ec2263a.html)格式化数值:有时,我们可能需要将数值以一定的格式来呈现,就需要对数值进行格式化。我们使用格式字符串指定格式。格式字符串采用以下形式:Axx,其中 A 为格式说明符,指定格式化类型,xx 为精度说明符,控制格式化输出的有效位数或小数位数。格式说明符... 阅读全文
摘要:
Repeater,DataList里面用 <%#Container.ItemIndex+1%> GridView用<%# Container.DataItemIndex+1 %>第一种方式,直接在Aspx页面GridView模板列中.这种的缺点是到第二页分页时又重新开始了. <asp:TemplateField HeaderText="序号" InsertVisible="False"> <ItemStyle HorizontalAlign="Center" /> <HeaderS 阅读全文
摘要:
1.从左至右declare @stt varchar(200)declare @i intdeclare @sttl varchar(100)set @stt='0_123_456_789'set @i=0while @i<len(@stt) begin set @i=charindex('_',@stt) set @sttl=left(@stt,@i-1) set @stt=right... 阅读全文
摘要:
以下以sql server 2000(MSSQL)为例讲解MSSQL替换语句以及用语。MSSQL替换语句:update 表名 set 字段名=replace(cast(字段名 as varchar(8000)),'abc.com','123.com') 例如:update PE_Article set Content=replace(cast(Content as varchar(8000)),'... 阅读全文