What is the best control to use for data entry (Multiple Rows)? GridViewm, ListView, Repeater RRS feed

  • Question

  • User-786564416 posted

    I want to make multiple rows data entry page that whenever a record data is filled, a new record of data entry automatically is added (MS Access Continuous forms behavior).

    I know how to make it by Gridview and Repeater and ListView, but what is the best and optimum server control to perform this job?

    The data entry records will consists of :

    • label databound item
    • Unbound textbox item
    • Unbound FileUpload item

    So which control is most fit for this job?

    Monday, June 17, 2019 4:54 PM

All replies

  • User409696431 posted

    What to you mean by "optimum"?  In all cases you'll need to update the database with the new record and rebind the control to display the new record.  Use whichever you want, that gives the look you want on the page.

    Monday, June 17, 2019 6:14 PM
  • User-719153870 posted

    Hi alihusain_77,

    You can see the detailed differences and comparisons between the three in the following links:


    Generally, Gridview has more default functions, such as paging, however it is not convenient for later design.

    Repeater can be customized freely, but almost all functions need to be written by yourself.

    Listview has more powerful functions than repeater, it's also slightly more complex to use.

    All these three controls can meet your needs, which one to choose depends on more detailed requirements of your project.

    Best Regard,

    Yang Shen

    Tuesday, June 18, 2019 1:31 AM