Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

datatablecollection and missing schema

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rodchar - 26 Mar 2008 15:05 GMT
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
Ignacio Machin ( .NET/ C# MVP ) - 26 Mar 2008 16:24 GMT
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
[quoted text clipped - 5 lines]
> 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.
rodchar - 26 Mar 2008 20:35 GMT
yes that's what i mean, the dataadapter missing schema. thanks for the help.
rod.

> On Mar 26, 10:05 am, rodchar <rodc...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 12 lines]
> to know the names, etc
> you can always rename the tables afterwards though.
Ignacio Machin ( .NET/ C# MVP ) - 26 Mar 2008 22:15 GMT
> yes that's what i mean, the dataadapter missing schema. thanks for the help.
> rod.
[quoted text clipped - 17 lines]
>
> - Show quoted text -

Well, then just rename the table and you are ready :)

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.