Click here to Skip to main content
15,116,815 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want a paging in my webpage which uses a repeater.the below mentioned code is the demo code(just testing).other links from google are not helping as i am using sqldatasource.plz dont send any links to follow.I want the code for paging plz is my code.....

<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" SelectCommand="SELECT * FROM [tbl_Products]">

and in webform.aspx i have

<asp:Repeater ID="Repeater2" runat="server" DataSourceID="SqlDataSource2">
        <%#Eval("Brand") %>

                                       <asp:Label runat="server" ID="lblContactName" Text='<%#Eval("Brand") %>' />
                                 <asp:Image ID="Image1" runat="server"  ImageUrl="~/images/laptops/compaq/Compaq-Presario-CQ43-307AUl.jpeg"/>


1 solution

rakeshjena 30-Nov-13 14:25pm
someone plz solve that
Tharaka MTR 1-Dec-13 21:39pm
Did you check the article how it works?
rakeshjena 2-Dec-13 8:34am
yes not working here. could u be more requirement is simple and clear.plzzzzzzzzzzzzzzz
Tharaka MTR 2-Dec-13 9:41am
yes, I can. But I would like to check what you have done so far. Could you please update your code sample?
rakeshjena 4-Dec-13 5:58am
thanks tharaka,
i accepted your solution(the 1st link).thanks a lot

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900