whats difference between datagrid datalist and


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.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: whats difference between datagrid datalist and
Reference No:- TGS0161295

Expected delivery within 24 Hours

  • Q : what is impersonation in aspnetby default the

    what is impersonation in aspnetby default the aspnet executes in the security context of a restricted user account on the local machine sometimes you

  • Q : can you explain how the aspnet authentication

    can you explain how the aspnet authentication process works the aspnet does not run by itself it runs inside the process of the iis so there are

  • Q : what are the various ways of authentication

    what are the various ways of authentication techniques in aspnetthe selection of an authentication provider is as simple as making an entry

  • Q : the aspnet impersonation is totally controlled by

    the aspnet impersonation is totally controlled by entries in the applications webconfig file default setting is no impersonation you can explicitly

  • Q : whats difference between datagrid datalist and

    whats difference between datagrid datalist and repeaterthe datalist datagrid and repeater are all aspnet data web controlsthey have many things in

  • Q : how to decide on the design consideration to take

    how to decide on the design consideration to take a datagrid datalist or repeaterso many make a blind choice of choosing datagrid directly but that

  • Q : the aspnet new feature supports are shown below

    the aspnet new feature supports are shown below -better language support1 the new adonet concepts have been implemented2 the aspnet supports

  • Q : what are major events in globalasax filethe

    what are major events in globalasax filethe globalasax file which is derived from the httpapplication class maintains a pool of the httpapplication

  • Q : they are triggered in the following order as

    they are triggered in the following order as shown

  • ©TutorsGlobe All rights reserved 2022-2023.