473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

datatablecollection and missing schema

hey all,
i noticed if i use the missing schema to fill a datatablecollection the
table names are generic (Table, Table1, Table2)

is there anyway to change that? i tried on the sql side to use an alias for
the table name but i don't think that work when i tried to debug.

thanks,
rodchar
Mar 26 '08 #1
3 1597
On Mar 26, 10:05*am, rodchar <rodc...@discussions.microsoft.com>
wrote:
hey all,
i noticed if i use the missing schema to fill a datatablecollection the
table names are generic (Table, Table1, Table2)

is there anyway to change that? i tried on the sql side to use an alias for
the table name but i don't think that work when i tried to debug.

thanks,
rodchar
What you mean with the missing schema?
Of course if the dataadapter do not have a schema it will not be able
to know the names, etc
you can always rename the tables afterwards though.
Mar 26 '08 #2
yes that's what i mean, the dataadapter missing schema. thanks for the help.
rod.

"Ignacio Machin ( .NET/ C# MVP )" wrote:
On Mar 26, 10:05 am, rodchar <rodc...@discussions.microsoft.com>
wrote:
hey all,
i noticed if i use the missing schema to fill a datatablecollection the
table names are generic (Table, Table1, Table2)

is there anyway to change that? i tried on the sql side to use an alias for
the table name but i don't think that work when i tried to debug.

thanks,
rodchar

What you mean with the missing schema?
Of course if the dataadapter do not have a schema it will not be able
to know the names, etc
you can always rename the tables afterwards though.
Mar 26 '08 #3
On Mar 26, 3:35*pm, rodchar <rodc...@discussions.microsoft.comwrote:
yes that's what i mean, the dataadapter missing schema. thanks for the help.
rod.

"Ignacio Machin ( .NET/ C# MVP )" wrote:
On Mar 26, 10:05 am, rodchar <rodc...@discussions.microsoft.com>
wrote:
hey all,
i noticed if i use the missing schema to fill a datatablecollection the
table names are generic (Table, Table1, Table2)
is there anyway to change that? i tried on the sql side to use an alias for
the table name but i don't think that work when i tried to debug.
thanks,
rodchar
What you mean with the missing schema?
Of course if the dataadapter do not have a schema it will not be able
to know the names, etc
you can always rename the tables afterwards though.- Hide quoted text -

- Show quoted text -
Well, then just rename the table and you are ready :)
Mar 26 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alberto Grosso Nicolin | last post by:
We have the following XML schema: there's a root element (Response) with of a single child element (Result). ...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project by serveraddresss?wsdl, it gives me following error: Custom tool...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
3
by: CindyRob | last post by:
I am using .NET framework 1.1 SP1, .NET framework SDK 1.1 SP1, with hotfix 82202, Visual studio .NET 2003 with hotfix 823639. I have generated a proxy class using wsdl.exe from a schema that has an...
4
by: Mike | last post by:
I'm creating a new asp.net (c#) web app and on my HTML page some values are missing> such as: when i do: <td > when i hit spacebar I dont' see, width, bgcolor, border, etc in the drop down....
6
by: Hemant Shah | last post by:
Folks, Today, I was exporting a table in one database and then importing it in another database. The table in destination database was missing one column (my mistake while creating the table),...
3
by: Fred Chateau | last post by:
Still working on my XML DataSet... Having moved on past difficult and complex problems, resolved with the assistance of everyone here, I find myself facing yet another problem. My XML document...
4
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, this is what i thought would make sense to me but got the infamous "Object not instantiated" error: DataTable dt; dt = mySprocDt; DataTableCollection dtColl = null; dtColl.Add(dt);
5
by: Frank Millman | last post by:
Hi all This is not strictly a Python question, but as I am writing in Python, and as I know there are some XML gurus on this list, I hope it is appropriate here. XML-schemas are used to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.