Single SP or several of them

V

Vlad

I'm using several stored procedures to populate all controls (text boxes,
grids, combos) on the form with data. Is there any advantages of using a
single stored procedure with multiple Select statements to fill DataSet and
then use different DataTables for appropriate controls?
For testing I do not have a big volume of data to play with it in order to
see the difference, but the real database is going to contain much more
data.
Thank you
Vlad
 
H

Herfried K. Wagner [MVP]

Hello,

Vlad said:
I'm using several stored procedures to populate all controls (text boxes,
grids, combos) on the form with data. Is there any advantages of using a
single stored procedure with multiple Select statements to fill DataSet and
then use different DataTables for appropriate controls?

Notice that there is a newsgroup for .NET+database (ADO .NET) questions:

news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet

HTH,
Herfried K. Wagner
 

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