Best Practice in C# for ADO.NET

  • Thread starter Thread starter Ali
  • Start date Start date
A

Ali

Hi,

I would like to know which way of programming database applications is
the best practice and has less problems.

using code to create connection , dataset, table adapters and so on
or
using visual tools and binding the controls to them

and please describe why...

thanks
Ali
 
The best thing to me is to create your own code, but to piggyback off of
the EnterpriseLibrary.Data or DAAB 2.0 libraries.

I completely agree with that.
The "drag and drop" stuff is for RAPID development.

I would actually question that... Once you have a good DAL in place, I think
it's quicker and easier to use that rather than the visual tools...
 

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