Windows Forms and Data Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When creating a .NET Windows Form app do I have to use Web Services to access the database? If not, how else would I access my database without having my business objects/data access layers residing on the client?
 
Tim said:
When creating a .NET Windows Form app do I have to use Web Services to access the database?

No. You certainly don't have to use Web Services. You can use code from
the System.Data.SqlClient namespace in your form.
If not, how else would I access my database without having my business objects/data access layers residing on the client?

Well, technically, an application will always have a "data access layer"
of some sort. Be it self contained DAL class you use in a form or a DAL
server which you then interface to using Web Services.

The point is it's up to you to design the framework. It depends really
how much of a thin client vs. rich client you want to do and also if
you're planning on n-tier framework or not.
 
Back
Top