-2

I would like to know more detailed about difference between

  • Data List,
  • Details View,
  • Form View and
  • List View.

And when we should use them in creating websites?

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Pinky
  • 53
  • 2
  • 4

2 Answers2

6

Details View

DetailView shows the details for the row in a separate space.

Tutorials

DetailsView Example in ASP.NET using C#

How to use DetailsView in asp.net

DetailsView Control Example

DataList

The DataList control is, like the Repeater control, used to display a repeated list of items that are bound to the control. However, the DataList control adds a table around the data items by default. The DataList control may be bound to a database table, an XML file, or another list of items.

Tutorials

Working with the DataList Control

Displaying Data with the DataList and Repeater Controls (C#)

ListView

The ASP.NET ListView control enables you to bind to data items that are returned from a data source and display them. You can display data in pages. You can display items individually, or you can group them.

Tutorial

Complete ListView

Form View

Formview is intended for insert/update/view of a single record.

Tutorial

How to use FormView ItemTemplate and Eval() in asp.net

Amarnath Balasubramanian
  • 9,300
  • 8
  • 34
  • 62
-1

Happy reading :)

Kane
  • 16,471
  • 11
  • 61
  • 86
  • This isn't an answer, just google results... – Aristos Jan 06 '14 at 11:10
  • @Aristos I agree, but the question is rather broad. I'd be happy to upvote a better answer if there was one. – Kane Jan 06 '14 at 11:13
  • 1
    some answer small and nice to that question: http://stackoverflow.com/a/397833/159270 In any case your answer did not help at all, nether show that you know what are the real / practical diferents. – Aristos Jan 06 '14 at 11:13
  • @Aristos lol I was too lazy to search myself... hahaha I will vote to close this question as an exact duplicate. Thanks :) – Kane Jan 06 '14 at 11:15
  • @Amarnath Thank u and as i am beginner in asp.net pls can i know some links for complete ASP.NET tutorials with examples. It would be helpful to improve my knowledge. Thanks – Pinky Jan 06 '14 at 13:39