摘要: 注册用户页面代码如下<scriptlanguage="javascript"type="text/javascript">varxmlHttp=false;try...{xmlHttp=newActiveXObject("Msxml2.XMLHTTP");}catch(e)...{try...{xmlHttp=newActiveXObject("Microsoft.XMLHTTP");... 阅读全文
posted @ 2010-01-20 22:26 William2013 阅读(3786) 评论(1) 推荐(0) 编辑
摘要: Repeater 双向排序 做项目的时候,DataGrid ,DataList,Repeater 三个控件都是很优秀的数据显示控件,DataGrid的方便,简单易用,功能强大,但对性能会有所影响,在loading页面的时候大量的Html会占用一些时间,DataList 较之DataGrid功能显然减少一些,经常在一些特殊的页面制作或需求中来用,经常简单的页面显示收据表格,使用Repeater+Ta... 阅读全文
posted @ 2010-01-20 22:19 William2013 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 1、<itemtemplate><tr><td><%# Container.ItemIndex + 1%></td></tr></itemtemplate> 2、<itemtemplate><tr><td><%# this.rpResult.Items.Count + 1%... 阅读全文
posted @ 2010-01-20 22:16 William2013 阅读(1282) 评论(0) 推荐(0) 编辑
摘要: 方式1:foreach(Controlcinthis.Repeater1.Controls){HtmlInputCheckBoxcheck=(HtmlInputCheckBox)c.FindControl("cbDelete1");if(check!=null){check.Checked=true;}}方式2:for(inti=0;i<this.Repeater1.Items.Count;... 阅读全文
posted @ 2010-01-20 22:11 William2013 阅读(318) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示