Where The Hell is My Stored Procedure?

C

Crazy Cat

I created a non result returning query using the Dataset Designer that
calls a stored procedure in Visual Basic .NET Professional 2005 and
then saved the dataset file. I can see the query in the designer , but
can't access it anywhere in code. In the designer it appears as a box
titled QueriesTableAdapter with the stored procedure name in the box.
If I type the name of the dataset to access it's members, I don't see
either QueriesTableAdapter, or the stored procedure. What the hell
gives?

Please help,

Thanks
 
C

Crazy Cat

Crazy said:
I created a non result returning query using the Dataset Designer that
calls a stored procedure in Visual Basic .NET Professional 2005 and
then saved the dataset file. I can see the query in the designer , but
can't access it anywhere in code. In the designer it appears as a box
titled QueriesTableAdapter with the stored procedure name in the box.
If I type the name of the dataset to access it's members, I don't see
either QueriesTableAdapter, or the stored procedure. What the hell
gives?

Please help,

Thanks

Never mind. After finally finding documentation on calling Stored
Procedures from .NET using TableAdapters in the online documentation I
realized I did not drag the new class into my project and also didn't
realize that the tableadapters are not a member of the DataSet but a
separate class. Boy do I feel dumb.

Thanks for reading my rant,

Crazy
 

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

Top