View Single Post
  #51 (permalink)  
Old 08-24-2007, 01:31 AM
rrrajesh84in rrrajesh84in is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 399
rrrajesh84in is on a distinguished road
Default Re: ASP.NET Data Controls

Quote:
Originally Posted by Venkat View Post
hey rajesh,

Its working fine i can reterive all the data through the nested repeater and radioButton is also working. Thanks for you help....


What’s the major difference between Datagrid control, Datalist control and repeater control?
hi

A Datagrid, Datalist and Repeater are all ASP.NET data Web controls.They have many things in common like DataSource Property, DataBind MethodItemDataBound and ItemCreated.When you assign the DataSource Property of a Datagrid to a DataSet then each DataRowpresent in the DataRow Collection of DataTable is assigned to a correspondingDataGridItem and this is same for the rest of the two controls also. But The HTML codegenerated for a Datagrid has an HTML TABLE <ROW> element created for the particularDataRow and its a Table form representation with Columns and Rows.For a Datalist its an Array of Rows and based on the Template Selected and theRepeatColumn Property value We can specify how many DataSource records shouldappear per HTML <table> row. In short in datagrid we have one record per row, but indatalist we can have five or six rows per row. For a Repeater Control, the Datarecords to be displayed depends upon the Templatesspecified and the only HTML generated is the due to the Templates.In addition to these, Datagrid has a in-built support for Sort, Filter and paging the Data,which is not possible when using a DataList and for a Repeater Control we would requireto write an explicit code to do paging.
__________________
.....................................
''''''
Rajesh''''''
Ants. . . . . . Like me
Reply With Quote