Difference Between List and Dataset and Datatable

Posted by Jayakumars under ASP.NET AJAX on 3/30/2013 | Points: 10 | Views : 5628 | Status : [Member] [MVP] | Replies : 4
hi

1.Difference Between List and Dataset and Datatable ?

Mark as Answer if its helpful to you


Responses

Posted by: Ankitsrist on: 3/30/2013 [Member] Starter | Points: 25

Up
0
Down
datatable gets the specific table so retrieving data becomes fast, dataset is the collection of multiple tables so unneccessary increase the load

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Murugavelmsc on: 3/30/2013 [Member] Starter | Points: 25

Up
0
Down
http://www.dotnetfunda.com/forums/thread615-what-is-the-difference-between-datatable-and-dataset.aspx

Regards,
Murugavel S
murugavel.sadagopan@gmail.com
http://murugavelmsc.blogspot.in/

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 3/30/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

ankrist and murugavel

tell me list compare with datatble and dataset

List asking generic list

Mark as Answer if its helpful to you

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 3/30/2013 [Member] Starter | Points: 25

Up
0
Down
generaly list is used for dropdown and checkboxes to add the listitems, and i have used list like this to populate checkbox items
List<string> values=new List<string>();

foreach (ListItem item in chkboxCandidateList.Items)
if (item.Selected)
values.Add(item.Text);


Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response