asp.net data controls
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

asp.net data controls

on

  • 925 views

 

Statistics

Views

Total Views
925
Views on SlideShare
925
Embed Views
0

Actions

Likes
0
Downloads
20
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

asp.net data controls Presentation Transcript

  • 1. Bind to many data sources Collections Array HashTable ADO.NET DataReader DataSet XML
  • 2. The ADO.NET DataReader to retrieve a read-only, forward-only stream of data from a database. Results arereturned as the query executes, and are stored in the network bufferon the client until you request them using the Read method of theDataReader. Datasets store a copy of data from the databasetables. However, Datasets can not directly retrieve data fromDatabases. DataAdapters are used to link Databases with DataSets. Ifwe see diagrammatically. Databases  Data Providers  DataAdapters  DataSets
  • 3. ConnectionCommandDataReaderDataSetDataAdapterDataView
  • 4. DataAdapter is a part of the ADO.NETData Provider. DataAdapter provides the communicationbetween the Dataset and the Datasource. We can use theDataAdapter in combination with the DataSet Object. That isthese two objects combine to enable both data access and datamanipulation capabilities. A Data View enables you to create differentviews of the data stored in a Data Table, a capability that is oftenused in data-binding applications. Using a DataView, you can exposethe data in a table with different sort orders, and you can filter thedata by row state or based on a filter expression.
  • 5. DataSet DatabaseAuthors Connection Authors DataAdapter Select … from Authors
  • 6. DataSet Database Authors Connection Publishers DataAdapterPublishers Select … from Publishers
  • 7. DataSet Authors DataGrid RepeaterPublishers DataList Data View
  • 8.  Displays data as a table Control over  Alternate item  Header  Footer  Colors, font, borders, etc.  Paging Updateable Item as row
  • 9. List formatNo default outputMore controlMore complexityItem as rowNot updateable
  • 10. Directional renderingGood for columnsItem as cellAlternate itemUpdateable