Results 1 to 3 of 3

Thread: Working with a ADO(.Net) DataSet

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    MA
    Posts
    2

    Working with a ADO(.Net) DataSet

    I already have a populated ADO.Net DataSet. I need to issue queries to this DataSet. The query will be an Update SQL Statement.

    So far I have figured out how to issue a SqlCommand state to issue the query but they all require a SQLConnection object. I need some help conencting to an in memory Dataset.

    Help...

  2. #2

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    MA
    Posts
    2
    I managed to accomplish what I need to get done. I am just accessing the Rows/Columns collections and directly changing the values as needed. The problem with such a scheme is that I must iterate thruy the rows which more time consuming then what I was looking for.

    If anyone knows of a way to modify DataSets (rather then the DataSource from which they came from) via a SQL Statement please let me know...

    Thanks!

  3. #3
    Member
    Join Date
    Mar 2002
    Posts
    40
    You seems to be missing something. You cannot run a SQL statement on a dataset. It represents an in-memory cache of data. Which mean, everytime you call the Fill method of a DataAdapter, it will load everything into the dataset.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width