Results 1 to 5 of 5

Thread: DataSet

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2004
    Posts
    47

    DataSet

    Hi I would like to ask if i use the dataset in the code, is it that i have to create xml in it? what is the the meaning dataset for?

  2. #2
    Junior Member
    Join Date
    Dec 2003
    Location
    California
    Posts
    19
    Not sure exactly what you mean. Are you asking if you can create an XML file from a dataset....answer: Yes, using the dataset.writeXml method. If you are asking what is the purpose of the dataset if you already have an XML document to read. Answer: .NET has very good native XML readers. You can just read the xml doc without doing and table, column mapping and read the data from the dataset as loaded in memory.

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2004
    Posts
    47
    Originally posted by betrl8thanever
    Not sure exactly what you mean. Are you asking if you can create an XML file from a dataset....answer: Yes, using the dataset.writeXml method. If you are asking what is the purpose of the dataset if you already have an XML document to read. Answer: .NET has very good native XML readers. You can just read the xml doc without doing and table, column mapping and read the data from the dataset as loaded in memory.
    erm if i want to use dataset, Can i not use xml instead use sql?

  4. #4
    Junior Member
    Join Date
    Dec 2003
    Location
    California
    Posts
    19
    I'm sorry, but I'm still unclear as to what you're asking. Datasets can be used for anything having to do with data. They can be used when connecting to a database, when reading XML, SQL Server, Oracle, MySQL, Access, FoxPro, etc.... Look at a dataset as a computer memory storage of a database, that disposes when your application is closed. You don't even have to use a datasource. You can use datasets just to store your program information in.
    <----------------------------->
    "In the immortal words of Socrates, who said "'I drank what?!'"

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Sakana
    erm if i want to use dataset, Can i not use xml instead use sql?
    As I understand your question (with some difficulties ) , then yes why not .

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