TableAdapter approach

C

craigkenisston

I'm starting an application using a TableAdapter instead of direct sql
calls.
In my table adapter there's already an stored procedure that returns
columns a, b and c.
Now, I added another query, but now I need it to return columns b, c,
d, and f.
As you can see, columns does not match.

When I close the table adapter wizard for adding the query, it warns
me, or well, it informs me about this missmatch and tells me to check
it if that's the correct desire.

I thought this would throw an error, but it doesn't. I have a method
that return a different set of columns from those listed in the
TableAdapter.
Is this approach "correct" ?
If no, what's the proper way to do this ?

Thanks in advance,
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top