Guruji Point - Code You Want To Write

  • Home
  • Asp.Net
  • WCF
  • SQL
  • Type Script
  • AngularJS
  • Tech News
  • Blog
  • Earn Online

Wednesday, 14 October 2015

GridView DataGrid and ListView Differences

 asp.net, datagrid, gridview, lisitview     No comments   


Introduction

In this article we will learn the difference between GridView and DataGrid and Difference between ListView and GridView.

Why GridView DataGrid And ListView Used

These controls are used to display data and also for modify the data. Grid View is very popular for to display data in tabular form in Asp.Net Web Based Application. 

DataGrid and GridView Difference:

Grid View
Data Grid
Introduced with Asp.Net 2.0.
Introduced with Asp.Net 1.0.
It Supports auto format features.
This features is not supported.
Performance is slow as compared to DataGrid.
Performance is fast as compared to GridView.
Provides Built-in supports for Update and Delete operations.
Need to write code for implementing Update and Delete operations.
Provides  Built-in supports for Sorting and Paging.
For sorting you need to handle SortCommand event and rebind grid required and for paging you need to handle the PageIndexChanged event and rebind grid required.

 GridView and ListView Difference:

Grid View
ListView
Introduced with Asp.Net 2.0.
Introduced with Asp.Net 3.5.
Rendered as table.
Template Driven.
Need to write custom code for Insert Operation.
Provides Built-in support for Insert Operation.
Need to write custom code for Data grouping.
Provides Built-in support for Data grouping.
Performance is slow as compared to ListView.
Performance is faster as compared to GridView.



  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Facebook Updates

Guruji Point

Categories

Comman table Expression in SQL Dynamic Grid Row IQueryable in c# Learn AngularJS Scope_Identity() Use of indexes comma seperated string in sql row_number() and dense_rank() salary table structure. while loop in sql why do we need cursor why tuple used

About Us

This blog is about the Programming ,Tech News and some intresting facts related Contents. Here you can find fundamental and expert level topic of programming languages very practically related to C# , Asp.Net ,Sql-Server, JavaScript, Jquery, WebServices And also Web-Api, WCF ,WPF, Angular Js.

Contact Us

Email Us - gurujipoints@gmail.com
Contact- 8077657477

Reach Us

Copyright © Guruji Point - Code You Want To Write