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

Explain interface, Explain Interface? An interface is not a class. It i...

Explain Interface? An interface is not a class. It is an entity that is explained by the word Interface. An interface has no implementation; it only has the signature or in oth

Consumer and dealer management, Consumer and Dealer management Project D...

Consumer and Dealer management Project Description: Need to code the existing UI for relative and CRUD automation. Prepare CRUD for almost 7-10 forms with search and repor

Tracking company''s activities through several projects, ASP.NET/MSSQL/ MVC...

ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. Project Description: System is used for tracking company's activities through several projects by

Describe the roles of clr in .net framework, Describe the roles of CLR in ....

Describe the roles of CLR in .NET Framework. CLR gives an environment to execute .NET applications on target machines. CLR is also a common runtime environment for all .NET cod

Asp.net-mssql and mvc completing backend solution, ASP.NET/MSSQL/ MVC compl...

ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. Project Description: System is used for tracking company's activities through several projects by

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

Crystal Report base output, Hello, I want to develop one crystal report. I ...

Hello, I want to develop one crystal report. I have one database which has 5 field.One is string and others are Boolean. String field name is State and Four remaining fields are Th

Differences between the detailsview and formview controls, Question: (a...

Question: (a) Give three key differences between the DetailsView and FormView controls. (b) The ASP.NET 2.0 Framework introduces the idea of validation groups. How Valida

Explain in brief dataadapter class in ado.net, Explain in brief DataAdapter...

Explain in brief DataAdapter class in ADO.NET. The DataAdapter class retrieves data from the database, keeps data in a dataset, and reflects the changes made in the dataset to

Describe what are streams in file handling, Question : (a) Describe wh...

Question : (a) Describe what are streams in file handling and explain what should be done when accessing data in an existing file. (b) For what purpose are StreamReader an

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