sumit bakshi
What is difference between gridview and form view?
Posted by sumit bakshi in ASP.NET Programming on Nov 04, 2010
  • 0
  • 6
  • 12939
Do you know the answer for this question? Post it below.
Guest
Posted by pritma rathore on May 31, 2012
  • 0

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.

Posted by Ashish Dhyani on May 09, 2012
  • 0

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.formview.aspx

Posted by pradeep kodley on Mar 08, 2011
  • 0

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.



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.

Posted by sarika jain on Feb 09, 2011
  • 0

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

Posted by Harshit Vyas on Nov 17, 2010
  • 0

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 .

everything else is similar both have same functionality

Posted by sumit bakshi on Nov 04, 2010
  • 0

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


Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS

PRIVACY POLICY | TERMS & CONDITIONS | SITEMAP | CONTACT US | ABOUT US | REPORT ABUSE
2014© C# Corner. All contents are copyright of their authors.