Page sizing in ASP FormView with enable paging

Maitha 21 Reputation points
2022-03-29T05:49:58.837+00:00

How display 4 items (each item many records ) in a page with enable paging in ASP FormViw ?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,386 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Lan Huang-MSFT 28,126 Reputation points Microsoft Vendor
    2022-03-29T08:11:26.41+00:00

    Hi @Maitha ,

    Page sizing in ASP FormView with enable paging

    You can wrap the FormView with a div, and then set the style of the div, you can refer to the example below.

    How display 4 items (each item many records ) in a page with enable paging in ASP FormViw ?

    The Formview only displays one record at a time, I suggest you switch to the Repeater or Datalist control.
    Displaying Data with the DataList and Repeater Controls (VB)
    This is the code:187780-test.txt

    187852-test0.gif
    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments