Difference between dataset, dataview, data grid
Difference between dataset, dataview, data grid
Collapse
X
-
Tags: None
-
Dataset is a disjointed (an instance of the actual data from a datasource like SQL Server or Access, by having a dataset you don't need to waste repeated calls back to the original source over the web.
A dataview. Every dataset can have multiple views, just like views with datatables. Dataviews are subsets of a dataset. A dataview could show the same information or less information than the dataset. Every dataset has a dataview and by default if you do not specify, it is dataview(0). When people say they are binding the dataset, they are actually binding dataset.datavie w(0).
Datesets and dataviews are like thoughts in your head. People can mess with your head, but not actually see your thoughts. Getting the thoughts into some physical display for people to view, like writing thoughts on a piece of paper, is the datagrid, which usually outputs like a spreadsheet. The term binding the dataset to the datagrid can be thought of as binding your thoughts thru your hand via a pen to a piece of paper. Start thinking Gridview(.Net2) instead of old datagrid.
This answer is not from a formal source merely my thoughts in my head=dataset.da taview(0) and binding them to this message=datagri d.
TJComment
Comment