Problem in TableAdapters

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Suhas,

Are you sure that you have set the references to your class library in your
non webproject?
And the using in top?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top