• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
JensonBin
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4
2010年12月18日
使网页中的图片无空隙上、下、左、右、滚动的JS代码〈绝对可用〉
摘要: 向上滚动的代码: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=" 阅读全文
posted @ 2010-12-18 15:42 JensonBin 阅读(606) 评论(0) 推荐(0)
2010年12月16日
符合标准的随滚动条滚动的广告代码,在滚动条右侧滚动
摘要: 网页特效代码:符合标准的随滚动条滚动的广告代码,在滚动条右侧滚动!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. 阅读全文
posted @ 2010-12-16 15:58 JensonBin 阅读(1309) 评论(0) 推荐(0)
2010年12月2日
关于Request.QueryString
摘要: 如果无X,则Request.QueryString["x"]获得的是NULL 阅读全文
posted @ 2010-12-02 11:46 JensonBin 阅读(109) 评论(0) 推荐(0)
2010年11月27日
Response.Redirect 编码的问题
摘要: UTF-8传递到 gb2312 HttpUtility.UrlEncode("要传递的字符参数",Encoding.GetEncoding("GB2312")) 阅读全文
posted @ 2010-11-27 16:32 JensonBin 阅读(261) 评论(0) 推荐(0)
c# ToString() 格式化字符串
摘要: (转自:http://hi.baidu.com/cyj380236628/blog/item/7303c52ee0479e5c4ec2263a.html)格式化数值:有时,我们可能需要将数值以一定的格式来呈现,就需要对数值进行格式化。我们使用格式字符串指定格式。格式字符串采用以下形式:Axx,其中 A 为格式说明符,指定格式化类型,xx 为精度说明符,控制格式化输出的有效位数或小数位数。格式说明符... 阅读全文
posted @ 2010-11-27 16:06 JensonBin 阅读(418) 评论(0) 推荐(0)
GridView,Repeater增加自动序号列
摘要: Repeater,DataList里面用 <%#Container.ItemIndex+1%> GridView用<%# Container.DataItemIndex+1 %>第一种方式,直接在Aspx页面GridView模板列中.这种的缺点是到第二页分页时又重新开始了. <asp:TemplateField HeaderText="序号" InsertVisible="False"> <ItemStyle HorizontalAlign="Center" /> <HeaderS 阅读全文
posted @ 2010-11-27 11:56 JensonBin 阅读(238) 评论(0) 推荐(0)
2010年11月25日
mssql 分割字符串,从左至右,从右至左
摘要: 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... 阅读全文
posted @ 2010-11-25 17:00 JensonBin 阅读(915) 评论(0) 推荐(0)
2010年11月24日
MSSQL替换语句以及用语
摘要: 以下以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)),'... 阅读全文
posted @ 2010-11-24 18:07 JensonBin 阅读(1565) 评论(0) 推荐(0)
2010年11月22日
关于flash遮住div的问题
摘要: wmode="transparent"把这个加到flash的embed里面,然后给那个div的样式加一个z-index:1,即可解决至于select层比flash偏上的问题,可以通过加入iframe来让flash遮住select层 阅读全文
posted @ 2010-11-22 17:36 JensonBin 阅读(214) 评论(0) 推荐(0)
多编码,提交表单到GB2312页面前定义防止乱码
摘要: 阅读全文
posted @ 2010-11-22 14:42 JensonBin 阅读(145) 评论(0) 推荐(0)
上一页 1 2 3 4
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3