Difference between datagrid, datalist and repeater, DOT NET Programming

Assignment Help:

What's difference between Datagrid, Datalist and repeater?

The Datalist ,Datagrid, and Repeater are all ASP.NET data Web controls.

They have many things in common such as DataBind Method ItemDataBound and DataSource Property, ItemCreated.

Whenever you assign the DataSource Property of a Datagrid to a DataSet then each DataRow present in the DataRow Collection of DataTable is given  to a corresponding DataGridItem &  this is same for the rest of the two controls also. As  The HTML code generated for a Datagrid has an HTML TABLE element created for the particular DataRow &  it is a Table form representation with Columns and Rows.

For the  Datalist its an Array of Rows and based on the Template Selection  and the RepeatColumn Property value We can specify how many DataSource records must appear per HTML

row. In brief in the datagrid we have one record per row, but in the datalist we can have 5 or 6 rows per row.

For the  Repeater Control, the Datarecords to be displayed totally depends upon the Templates specified and the only HTML generated is the due to the Templates.

Addition to these, Datagrid has a in-built support for Filter , Sort and paging the Data, which is not possible when using a DataList and for a Repeater Control we would require to write an explicit code to do paging.


Related Discussions:- Difference between datagrid, datalist and repeater

Set up a ftp file server and active ftp file transfer, Set up a FTP File Se...

Set up a FTP File Server and active FTP File Transfer using VB.NET The Job Description is as given: 1. Manually set up a FTP file server on a remote server. 2. Manually ad

I need help in calendar integration into site using .net, I need help in Ca...

I need help in Calendar integration into site using .net I'm demanding to create a web-based proof of concept for the following scenario. I'd like to permit a user to select

Want to generate random numbers, want to generate random numbers between 1...

want to generate random numbers between 1-15 and no one should repeat until all numbers have come once....

Task on data mining, Task on data mining Project Description: Task on...

Task on data mining Project Description: Task on Opinion Mining, Sentiment Analysis Skills required are C# Programming, Software Architecture, Data Mining

How to creating a key pair, How to Creating a Key Pair ? You can create...

How to Creating a Key Pair ? You can create a key pair using the Strong Name tool (Sn.exe). Key pair files usually have an .snk extension. To create a key pair At the comman

What is object-oriented programming, What is object-oriented programming (O...

What is object-oriented programming (OOP)? OOP is a technique to develop logical modules, like classes that contain properties, methods, fields, and events. An object is formed

Login page, how to connect login page with my database and check the values...

how to connect login page with my database and check the values with the database.

Timer, what is timer control

what is timer control

Mention the execution process for managed code, Mention the execution proce...

Mention the execution process for managed code. A piece of managed code is executed as follows:     Choosing a language compiler     Compiling the code to MSIL     Com

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd