Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

HOW TO GET TABLE NAME FROM DATASET OF JOINED QUERY

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Variable Event ? 3 36
Help with converting xml file to excel using VB.NET 3 25
Convert datetime to time string 10 28
Complex SQL statement in VB.NET 7 31
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
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 …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 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