GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  Ado.NET
Go To First  |  Previous Question  |  Next Question 
 Ado.NET  |  Question 16 of 31    Print  
what r the advantages and disadvantages of using datalist

  
Total Answers and Comments: 3 Last Update: April 04, 2008     Asked by: madhureddy318 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: spandanapotla
 
Adv: the DataList's display is defined via templates,DataList allows for much more customization of the rendered HTML markup , by which it is more user-friendly displays of data.

DisAdv:
adding such functionality with the DataList takes more development time than with the DataGrid, as
  • The Edit/Update/Cancel buttons that can be created in a DataGrid via the EditCommandColumn column type, must be manually added to the DataList, and
  • The DataGrid BoundColumn column types automatically use a TextBox Web control for the editing interface, whereas with the DataList you must explicitly specify the editing interface for the item being edited via the EditItemTemplate.


Above answer was rated as good by the following members:
surendra_sahu786
August 25, 2006 05:03:56   #1  
Rajsekhar        

RE: what r the advantages and disadvantages of using d...

Hi

Datalist control is just like the repeater control used to bound the repeated list of items to the control.

Disadvantages

we can't do the paging and sorting with datalist controls.


 
Is this answer useful? Yes | No
August 29, 2006 07:38:38   #2  
gouri        

RE: what r the advantages and disadvantages of using d...

Hi

Datalist is updateable and datareader is not updateable


 
Is this answer useful? Yes | No
April 04, 2008 14:51:01   #3  
spandanapotla Member Since: March 2008   Contribution: 2    

RE: what r the advantages and disadvantages of using datalist
Adv: the DataList's display is defined via templates DataList allows for much more customization of the rendered HTML markup by which it is more user-friendly displays of data.

DisAdv:
adding such functionality with the DataList takes more development time than with the DataGrid as
  • The Edit/Update/Cancel buttons that can be created in a DataGrid via the EditCommandColumn column type must be manually added to the DataList and
  • The DataGrid BoundColumn column types automatically use a TextBox Web control for the editing interface whereas with the DataList you must explicitly specify the editing interface for the item being edited via the EditItemTemplate.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape