Interviews - C# Corner

sumit bakshi
What is difference between gridview and form view?
By sumit bakshi in ASP.NET on Nov 04 2010
  • pritma rathore
    May, 2012 31

    grid view show multiple record at a time but in form view and detail view single row view is show.Basically grid view is replacement of data grid. In form view and detail view we can update,delete and insert record.but details view is often used in master-detail scenarios where the selected record in a master control such as a GridView control determines the record display.

    • 0
  • Ashish Dhyani
    May, 2012 9

    • 0
  • pradeep kodley
    Mar, 2011 8

    <P>The GridView control displays data as a table and provides the capability to sort columns, page through data, and edit or delete a single record. the GridView control offers improvements such as the ability to define multiple primary key fields, improved user interface customization using bound fields and templates, and a new model for handling or canceling events.<BR><BR></P> <P>The FormView control renders a single record at a time from a data source and provides the capability to page through multiple records, as well as to insert, update, and delete records, similar to the DetailsView control. However, the difference between the FormView and the DetailsView controls is that the DetailsView control uses a table-based layout where each field of the data record is displayed as a row in the control. In contrast, the FormView control does not specify a pre-defined layout for displaying a record. Instead, you create templates that contain controls to display individual fields from the record. The template contains the formatting, controls, and binding expressions used to lay out the form.</P><FONT size=3 face="Segoe Print"><FONT size=3 face="Segoe Print"><SPAN lang=""></FONT></FONT></SPAN>

    • 0
  • sarika jain
    Feb, 2011 9

    Gridview shows the values of a &nbsp;datasource in the form of a table whereas Formview shows the single record from the particular data source.

    • 0
  • Harshit Vyas
    Nov, 2010 17

    the only one difference between both is that grid view shows the data in grid format i.e.:- multiple records and form view shows only on one record .<br><br>everything else is similar both have same functionality<br>

    • 0
  • sumit bakshi
    Nov, 2010 4

    gridview wil be display multipal recorde at a time <br>but form and detailsview show recorde in single -sigle result set<br>

    • 0

Most Popular Companies

Most Popular Job Functions



Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now