Results 1 to 4 of 4

Thread: How to use dataset in ASP.Net?

  1. #1
    Join Date
    Nov 2009
    Posts
    1,118

    How to use dataset in ASP.Net?

    Hello,

    I am having problem regarding the database. I am developing a project in ASP.net and wanted to connect it to the database but my problem is that i want to use dataset instead of linking it through the SQL command. Any one with the great knowledge of the ASP.NET can step forward to tell me about the same. I assume that you know how urgently i need this information.

    Help will be appreciated

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    Re: How to use dataset in ASP.Net?

    Hi folks,

    I am giving you the simplest step to perform the dataset with ASP.NET.
    To fetch the database object into dataset you have to first create database and then create database connection, dataset object. Database connection will create the connection between the database. After the connection has been established then create a dataadapter object and connect it to the database. Then fill the DataAdapter with the Fill method.

    Thanks

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: How to use dataset in ASP.Net?

    Hi,

    I will suggest you not to create use dataset, instead of that use link to sql. It much faster then the Dataset. Normally you will not find it difficult but when you will connect it to the database then the main problem will arise. The problem you will see after you bind the dataset to a grid as well as when you will try to introduce inline editing and paging. So in my opinion "Use SQL to perform fast.

    I hope you will like the idea.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: How to use dataset in ASP.Net?

    The DataSet, which is an in-memory cache of data retrieved from a data source, is a major component of the ADO.NET architecture. The DataSet consists of a collection of DataTable objects that you can relate to each other with DataRelation objects. You can also enforce data integrity in the DataSet by using the UniqueConstraint and ForeignKeyConstraint objects. For further details about working with DataSet objects, see DataSets, DataTables, and DataViews (ADO.NET).

    To know more about the dataset click on the link below"

    DATASET

Similar Threads

  1. Dataset vs DataReader in .Net
    By Vireshh in forum Software Development
    Replies: 3
    Last Post: 07-05-2011, 11:32 AM
  2. How to create a new DataSet
    By Leonard in forum Windows Software
    Replies: 5
    Last Post: 23-03-2010, 08:52 AM
  3. Feed a dataSet from a SqlDataReader
    By Layton in forum Software Development
    Replies: 5
    Last Post: 23-01-2010, 10:25 AM
  4. How is DataSet.xsd used in any particular website
    By Guns-n-Roses in forum Software Development
    Replies: 3
    Last Post: 25-09-2009, 12:52 PM
  5. Working with XML and DataSet
    By Aanand in forum Software Development
    Replies: 3
    Last Post: 01-05-2009, 02:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,124,394.91610 seconds with 16 queries