What is DetailsView,FormView,DataList,Repeater?

P

Paulo

What is DetailsView, FormView, DataList, Repeater components?

Any differences?

VS 2005 asp.net C#
 
G

Guest

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.
 
B

Barrie Wilson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top