ASP.NET & Databases Part 2
page 1 of 5
Published: 17 Oct 2001
Unedited - Community Contributed
Abstract
In this part we're going to talk about the dataset object, getting you into the basics of how it works and how to use it.
by . .
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 27724/ 101

Introduction to the DataSet

ASP.NET & Databases : Part 2

Published 10/17/01

Introduction

Welcome to Part 2 of our series into ASP.NET & Databases (that should really be data sources). In this part we're going to talk about the dataset object. The dataset object is huge and we are not going to cover all of it. We'll be talking about DataTables, DataRows and all that.

We're going to be using the page that we created in Part 1, that page opened a database and filled a dataset with data.

What is a DataSet?

Looking back on Classic ASP, we see that the no. 1 thing to store data in from a database is a recordset. A recordset could hold one table of data and was fairly flexible.
The dataset combines VB.NET's language and an updated version of the recordset to provide you with much more functionality and flexibility and it can hold many tables of data.

A DataSet is broken down to things like DataRows and DataTables, you can use these to create a dataset without a connection to an external data source. Also, a dataset is disconnected data, that means that its not connected to the database, all the data can be used when its offline and the dataset only needs the connection to update the data. Let's take a closer look at it.

For this Part I'll be taking you through the different objects that make up the DataSet.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2017 ASPAlliance.com  |  Page Processed at 2017-06-24 3:08:53 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search