What is the best?

P

Paulo

Hi, Im using VS 2005 C# Asp.net 2.0, and I would like to know what do you
recommend, using the SqlDataSource component or using classes (MS SqlHelper
for example) to connect to a datasource? If the best is the SqlDataSource
component, must I have the component on each .aspx (web-form) ? Can I put on
a central place?

Thanks a lot!
 
N

newsgroupID

Yes, you can. Put it on Master page and then create a Master page
level property to use that control on all sub pages.
 

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,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top