如何在asp.net页面上添加滑块 [英] how to add slider on asp.net pages

查看:241
本文介绍了如何在asp.net页面上添加滑块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个gridview,它包含50行。我想在ppage上显示gridview。我希望它在第一页上显示10行。页面下面有编号,当我点击2然后显示接下来的10行。当我点击3然后显示接下来的10行。我怎么做

解决方案

所以如果你可以在gridview asp.net c #\"> Google中使用也看到这应该解决你的目的自定义分页在ASP.Net-GridView-using-SQL-Server-Stored-Procedure


然后像这样设置你的gridview属性..

 <   asp:GridView     ID   =  gv1    runat   =  server    AllowPaging   =  true    PageSize   =  10 >  <   / asp:GridView  >  


您可以在GridView的数据上使用分页和排序。

浏览此链接。

http://msdn.microsoft.com/en-us/library/aa479347 .aspx [ ^ ]

i have a gridview and this contain 50 rows. i want to display gridview on a ppage. i want it show 10 rows on first pages. there is numbering below the page and when i click on 2 then show next 10 rows . when i click 3 then show next 10 rows. how i do

解决方案

so whats the problem there are many links if you can use Google also see this this should Solve your purpose Custom-Paging-in-ASP.Net-GridView-using-SQL-Server-Stored-Procedure


Then set your gridview propeties like this..

<asp:GridView ID="gv1" runat="server" AllowPaging="true" PageSize="10"></asp:GridView>


You can use Paging and Sorting on the GridView's Data.
Go through this link.
http://msdn.microsoft.com/en-us/library/aa479347.aspx[^]


这篇关于如何在asp.net页面上添加滑块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆