Solved

HOW TO GET TABLE NAME FROM DATASET OF JOINED QUERY

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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