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 / .NET Framework / New Users / November 2006

Tip: Looking for answers? Try searching our database.

Problem in TableAdapters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Suhas Vengilat - 09 Nov 2006 13:58 GMT
Hi,

I have a class library project, where I have created a TableAdapter with a
table from SQL Server database. When I reference this library in another
classlibrary project, i am not able to use it. But the same is working if I
directly create a TableAdapter in a web project.

DataSet1TableAdapters.AccountMTableAdapter objAdpter = new
DataSet1TableAdapters.AccountMTableAdapter(); - this seems to be not working
if I use it in a class library project - but the same works if create the
dataadapter in a web project and I could use the above line of code.

What could be the problem. Please help me.

Thanks in advance.
Suhas
Ciaran O''Donnell - 13 Nov 2006 12:55 GMT
It sounds like the constructor is internal, you would need to change that to
public in order to access it outside the assembly.

Ciaran O'Donnell

> Hi,
>
[quoted text clipped - 12 lines]
> Thanks in advance.
> Suhas

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.