Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6532235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:58:34+00:00 2026-05-25T09:58:34+00:00

i have a datalist that contains dynamic content. i need to enable paging to

  • 0

i have a datalist that contains dynamic content.
i need to enable paging to this datalist.
im using asp.net c# under visual studion 2010

please send me the code how to enable the paging to the datalist!

here is the code for the datalist:

<asp:DataList ID="DataList1" runat="server" CellPadding="3" 
                DataSourceID="ObjectDataSource1" BackColor="White" BorderColor="#E7E7FF" 
                BorderStyle="None" BorderWidth="1px" GridLines="Horizontal">
                <AlternatingItemStyle BackColor="#F7F7F7" />
                <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                <ItemStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                <ItemTemplate>
                <table>
                <tr>

                    <td colspan="2">
                        <a href="<%#Eval("VendorLink") %>"> <%# Eval("Vendor") %></a>
                    </td>
                </tr>              
                <tr>
                    <td  colspan="2">
                         <a href="<%#Eval("TitleLink") %> "><%# Eval("Title") %></a>
                    </td>

                </tr>
                <tr>
                    <td  colspan="2">
                         <asp:Label ID="DescLabel" runat="server" Text='<%# Eval("Desc") %>' />
                    </td>                  

                </tr>
                <tr>
                    <td  colspan="2">
                    <asp:Label ID="DetailsLabel" runat="server" Text='<%# Eval("Details") %>' />   
                   </td>

                </tr>               

                 <tr>
                   <td>
                    <asp:Label ID="LinksLabel" runat="server" Text='<%# Eval("Links") %>' />
                  </td> 
                </tr>
                <tr>
                   <td> <asp:Label ID="RptIDLabel" runat="server" Text='<%# Eval("RptID") %>' /></td> </tr>
                </table>


                  </ItemTemplate>
                <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
            </asp:DataList>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T09:58:34+00:00Added an answer on May 25, 2026 at 9:58 am

    here is the link for datalist paging example..

    http://www.codeproject.com/KB/aspnet/paging.aspx

    http://www.codeproject.com/KB/aspnet/DataListPaging.aspx

    http://www.dotnetjohn.com/articles.aspx?articleid=48

    http://weblogs.asp.net/scottgu/archive/2006/01/07/434787.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i doing asp.net and using vb.net. I have a datalist control which inside it
I am using an ASP.NET/C# DataList . <asp:DataList ID=EquipmentList RepeatColumns=5..... I have the following
I have a datalist being generated with ASP, but unfortunately the jQuery script that
I have a datalist that contains a gridview inside its itemtemplate. on the item-data_bound
I have written this datalist : <div class=story runat=server> <asp:DataList ID=DataList2 runat=server Height=16px Width=412px>
I have a datalist that receives values from a MySQL database. This datalist can
Situation: I have a simple XML document that contains image information. I need to
Kinda hard to explain, but i'll try. I have a datalist that is populated
I have a datalist inside a usercontrol that gets loaded into a page where
i have a datalist control <ItemTemplate> <asp:Label ID=lblAddressID runat=server Text='<%# Bind(StudentName) %>'/> <asp:Label ID=lbl

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.