How to load multiple tables in data set?, DOT NET Programming

How can we load multiple tables in a DataSet?

objCommand.CommandText = "Table1"

objDataAdapter.Fill(objDataSet, "Table1")

objCommand.CommandText = "Table2"

objDataAdapter.Fill(objDataSet, "Table2")

The sample code above shows how to load multiple "DataTable" objects in one

"DataSet" object. The Sample code shows two tables "Table1" and "Table2" in the object ObjDataSet

lstdata.DataSource = objDataSet.Tables("Table1").DefaultView

Posted Date: 9/24/2012 5:14:49 AM | Location : United States

Related Discussions:- How to load multiple tables in data set?, Assignment Help, Ask Question on How to load multiple tables in data set?, Get Answer, Expert's Help, How to load multiple tables in data set? Discussions

Write discussion on How to load multiple tables in data set?
Your posts are moderated
Related Questions
Problem: (a) (i) Using a diagram, illustrate the basic process in an ASP.NET Architecture involving at least five objects. (ii) List two methods and two collections

In search of urgent assistance with loading an website In search of assistance with loading an website installation onto a new server, job will start nearly D

What is the difference between "DataSet" and "DataReader"? The major differences between "DataSet" and "DataReader" are as follows:- 1)The "DataSet" is a disconnected archit

Improve an existing web application and design (ASP C# Azure Project Description: I want an experience programmer to take my Proof of Concept web app to a professional level.

C# API to grab option price from CBOE web site Project Description: On the web page below, user will download option prices of Stock or Index. For example, if you put "VXX" i

Can you define what inheritance is and an example of when you might use it? The process of deriving a new class from an existing class is known as Inheritance. The old class is

What are the types of dependencies in cache? Whenever you add an item to the cache, the dependency relationships is define that can force that item to be removed from the cache

Ask queyuyuystion #Minimum 100 words accepted#

What is the difference between VB6 and VB.Net? VB6 1.       It is Object-based Language 2.       It Does not support Threading 3.       Not powerful Exception handli

What is Object Oriented Programming? This is a problem solving process to develop software systems. This is a technique to think real world in terms of objects. The Object maps