吃螺丝

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

随笔分类 -  ASP.NET

摘要:前两天写了个分页的存储过程,今天把前台也写了,代码贴出来给大家分享下,有什么建议请赐教啊~<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" CellPadding="4" ForeColor="#333333" GridLines="None" Width="650px" OnRowCancelin... 阅读全文
posted @ 2010-11-29 11:09 吃螺丝 阅读(600) 评论(4) 推荐(0)

摘要:今天研究这个研究了半天,初步了解了GridView自动分页是如何操作的 话不多 贴代码、<PagerTemplate> <asp:LinkButton ID="lbFirst" runat="server" CausesValidation="False" CommandArgument="First" CommandName="Page">First</asp:Li... 阅读全文
posted @ 2010-11-24 18:15 吃螺丝 阅读(439) 评论(3) 推荐(0)

摘要:以前在页面数据绑定的时候,经常会碰到<%# %>这种用法,当时也没查关于这个的用法,今天遇到个问题,就是在JS中,如何得到服务器控件的ID问题,于是联想到这个,先说说这个符号有什么含义,这也是我在网上查的资料:1、<%=%> 里面放的变量名,如:<div> <h1>Hello World</h1> <p>Welcome to ... 阅读全文
posted @ 2010-11-24 11:35 吃螺丝 阅读(784) 评论(0) 推荐(0)

摘要:以下是前台的代码:<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" CellPadding="4" ForeColor="#333333" GridLines="None" Width="650px" onrowcancelingedit="GridView1_RowCancelingEdit" o... 阅读全文
posted @ 2010-11-23 11:43 吃螺丝 阅读(1718) 评论(1) 推荐(0)