What is DetailsView,FormView,DataList,Repeater?

  • Thread starter Thread starter Paulo
  • Start date Start date
P

Paulo

What is DetailsView, FormView, DataList, Repeater components?

Any differences?

VS 2005 asp.net C#
 
What is DetailsView, FormView, DataList, Repeater components?

Any differences?

VS 2005 asp.net C#

DetailsView and Form

"The main difference between DetailsView and FormView is that
DetailsView has a built-in tabular rendering, whereas FormView
requires a user-defined template for its rendering. The FormView and
DetailsView object model are very similar otherwise."

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/formview.aspx
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/detailsview.aspx

DataList and Repeater

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/datalist.aspx
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/repeater.aspx

"Unlike DataList, Repeater has no built-in layout or styles." Also
Repeater jas no column layout and no Edit/Delete functionality.
 
Paulo said:
What is DetailsView, FormView, DataList, Repeater components?

Any differences?

VS 2005 asp.net C#


go to http://www.asp.net and have a look at the tutorials and videos; you'll
find all the information you need to get started ... the question is too
broad to answer on a newsgroup

the short -- and not too useful -- answer is that the DataList and Repeater
are used for working with collections of data and the FormView and
DetailsView are used for working with an individual row or record in a
collection, table, etc.
 
Back
Top