Solved

HOW TO GET TABLE NAME FROM DATASET OF JOINED QUERY

Posted on 2004-10-02
4
276 Views
Last Modified: 2010-04-23
SIR

I AM MAKING MY DATASET THROUGH CODING.  DATAADAPTER, CONNECTION AND ALL OTHER THINGS I AM CREATING THROUGH MY CODE.  I MADE A DATASET FROM A QUERY.  THIS QUERY JOINING THREE TABLES.  I AM USING ALIAS FOR SOME FIELDS.  FROM DATASET I WANT TO KNOW THE FIELDS BELONG TO WHICH TABLE IN MY DATABASE, NOT IN TABLE NAME SPECIFIED IN DATASET.  I AM NOT USING XML.  SOME  FIELDS NAME ARE  COMMON IN ALL TABLES IN MY DATABASE.  SO I USED ALIAS.  PLEASE HELP ME TO GET TABLE NAME(IN DATABASE) OF EACH FIELDS IN MY QUERY. IT IS VERY URGENT. PLEASE ...

THANKS
0
Comment
Question by:adwat
4 Comments
 
LVL 18

Accepted Solution

by:
DotNetLover_Baan earned 500 total points
ID: 12209620
You can not get the TableName.ColumnName format from any dataset. You have to get it from the Database.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now