zwei1121

博客园 首页 新随笔 联系 订阅 管理

09 2009 档案

摘要:where asciistr(acolumn) not like '\%'asciistr()函数对非ASCII代码,会转换成二进制,且前面加\ ;所以asciistr(acolumn) 如果是汉字;转换出来的会有 \利用 not like '\%' 返回的是以字母开头的记录,利用 like '\%' 返回的是以汉字开头的。 阅读全文
posted @ 2009-09-27 11:34 zwei 阅读(5344) 评论(0) 推荐(0)

摘要:$(document).ready(function(){ $("a.delete").click(function(event){ action = this.getAttribute("action") form = $("<form></form>") form.attr('action',action) form.attr('method','post') inpu... 阅读全文
posted @ 2009-09-23 16:19 zwei 阅读(20986) 评论(0) 推荐(0)

摘要:repeater里添加序号的4种方法 两种简洁方法1、<itemtemplate><tr><td><%# Container.ItemIndex + 1%></td></tr></itemtemplate> 2、<itemtemplate><tr><td><%# this.... 阅读全文
posted @ 2009-09-22 11:10 zwei 阅读(328) 评论(0) 推荐(0)

摘要:<script type="text/javascript"> var bannerAD = new Array(); var bannerADlink = new Array(); var adNum = 0; bannerAD[0] = "/images/golf/flash_ftm.jpg"; bannerADlink[0] = "" bannerAD[1] = "/images... 阅读全文
posted @ 2009-09-17 16:01 zwei 阅读(221) 评论(0) 推荐(0)

摘要:<asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> <div id="doing" style="z-index: 12000; left: 0px; cursor: wait; position: absolute; top: 0px;"> <table&... 阅读全文
posted @ 2009-09-10 15:03 zwei 阅读(191) 评论(0) 推荐(0)