Click here to Skip to main content
15,925,444 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPDF file was demaged Pin
vinothini dharmaraj1-Oct-12 1:13
vinothini dharmaraj1-Oct-12 1:13 
AnswerRe: PDF file was demaged Pin
Eddy Vluggen2-Oct-12 4:51
professionalEddy Vluggen2-Oct-12 4:51 
Questionconnection string Web.config + ASP.net C# Pin
jojoba20111-Oct-12 0:09
jojoba20111-Oct-12 0:09 
AnswerRe: connection string Web.config + ASP.net C# Pin
rock_monu1-Oct-12 0:16
rock_monu1-Oct-12 0:16 
QuestionRe: connection string Web.config + ASP.net C# Pin
jojoba20111-Oct-12 0:40
jojoba20111-Oct-12 0:40 
AnswerRe: connection string Web.config + ASP.net C# Pin
Richard MacCutchan1-Oct-12 1:13
mveRichard MacCutchan1-Oct-12 1:13 
QuestionRe: connection string Web.config + ASP.net C# Pin
Member 94738091-Oct-12 4:23
Member 94738091-Oct-12 4:23 
AnswerRe: connection string Web.config + ASP.net C# Pin
Richard MacCutchan1-Oct-12 4:31
mveRichard MacCutchan1-Oct-12 4:31 
AnswerRe: connection string Web.config + ASP.net C# Pin
Richard MacCutchan1-Oct-12 4:33
mveRichard MacCutchan1-Oct-12 4:33 
QuestionRe: connection string Web.config + ASP.net C# Pin
Member 94738091-Oct-12 7:05
Member 94738091-Oct-12 7:05 
AnswerRe: connection string Web.config + ASP.net C# Pin
Richard MacCutchan1-Oct-12 7:37
mveRichard MacCutchan1-Oct-12 7:37 
QuestionRe: connection string Web.config + ASP.net C# Pin
jojoba20111-Oct-12 22:04
jojoba20111-Oct-12 22:04 
AnswerRe: connection string Web.config + ASP.net C# Pin
Richard MacCutchan2-Oct-12 2:52
mveRichard MacCutchan2-Oct-12 2:52 
QuestionRe: connection string Web.config + ASP.net C# Pin
jojoba20112-Oct-12 3:04
jojoba20112-Oct-12 3:04 
AnswerRe: connection string Web.config + ASP.net C# Pin
Richard MacCutchan2-Oct-12 3:26
mveRichard MacCutchan2-Oct-12 3:26 
QuestionRe: connection string Web.config + ASP.net C# Pin
jojoba20112-Oct-12 6:05
jojoba20112-Oct-12 6:05 
AnswerRe: connection string Web.config + ASP.net C# Pin
Richard MacCutchan2-Oct-12 6:39
mveRichard MacCutchan2-Oct-12 6:39 
AnswerRe: connection string Web.config + ASP.net C# Pin
jkirkerx2-Oct-12 18:00
professionaljkirkerx2-Oct-12 18:00 
GeneralRe: connection string Web.config + ASP.net C# Pin
Richard MacCutchan3-Oct-12 1:42
mveRichard MacCutchan3-Oct-12 1:42 
Questionconnection string in webconfig Asp.net C# Pin
Member 94738091-Oct-12 0:05
Member 94738091-Oct-12 0:05 
Questionword document open without dialog Pin
rajaramanperumal30-Sep-12 20:44
rajaramanperumal30-Sep-12 20:44 
QuestionHow to get advanced graphic controls in ASP.Net Pin
Vaibhav Laxman Survase30-Sep-12 19:16
Vaibhav Laxman Survase30-Sep-12 19:16 
QuestionData Controls in ASP.NET Pin
jkmehmi30-Sep-12 7:38
jkmehmi30-Sep-12 7:38 
AnswerRe: Data Controls in ASP.NET Pin
Sandeep Mewara30-Sep-12 7:46
mveSandeep Mewara30-Sep-12 7:46 
jkmehmi wrote:
why we have a number of data controls in asp.net (like, repeater, datalist, gridview, form view etc )?

Because each of them has different use and need. All are important and used for data presentation in form or other.


jkmehmi wrote:
What is differnece between form view, list view, and datalist Controls.

D'Oh! | :doh: Why did you not try to look for it on Google/Bing[^]?
One of the link: http://itmall.blogspot.in/2008/10/what-is-difference-between-gridview.html[^] - In a nutshell, it says:
GridView:
(1)Can select one row to do something.
(3)update, delete records in database, but not insert
(4)Sort, paging
(5)Concurrency handling
(6)Display empty data
(7)Formatting (e.g. alternative row style)
(8)Customize field (e.g. use TemplateField to edit record)
(9)Extend (e.g. create LongTextField for GridView)

ListView:
(1) template driven
(2) can add data to database
(3) can edit, page through, sort database data
(4) ListView is the only control implementing IPageableItemContainer interface, so it is the only one which can use DataPager control.

ListView is the most flexible List control in all. I can safely use ListView in place of GridView.

Repeater:
(1) display database records. It cannot edit/insert records
(2) entirely template driven

DataList:
(1) display database records(can edit?)
(2) entirely template driven
DataList is very similar to Repeater except that DataList's default behavior is rending the content using a table. However, you can override the default behavior.

DetailsView:
(1) Display/edit/delete/Insert records in database
(2) Render a table for a single record. always render each field in a seperate table row.

FormView:
Exactly like DetailsView except that FormView is entirely template driven.

ListControl:
there are RadioButtonList, DropDownList, CheckBoxList, BulletedList, ListBox.

Sandeep Mewara
Microsoft ASP.NET MVP

[My latest Article]: Server side Delimiters in ASP.NET[^]

GeneralRe: Data Controls in ASP.NET Pin
jkmehmi30-Sep-12 8:15
jkmehmi30-Sep-12 8:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.