Solved

HOW TO GET TABLE NAME FROM DATASET OF JOINED QUERY

Posted on 2004-10-02
4
275 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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 video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 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

21 Experts available now in Live!

Get 1:1 Help Now