nwcomer

Can I use SQLHelper.cs in win forms

I have used a lot SQLHelper.cs in web forms and wondering would that make any difference using in win forms.

Thanks



Re: .NET Framework Data Access and Storage Can I use SQLHelper.cs

OmegaMan

The application blocks are designed to be used by any .Net development, whether the final output is for ASP.net or Winforms or even console apps. Since you know the technology it is a plus for you. You just need to learn the ins/outs of winforms and data management.





Re: .NET Framework Data Access and Storage Can I use SQLHelper.cs

nwcomer

Thanks, So I can Use

SqlHelper.ExecuteDataset

SqlHelper.ExecuteNonQuery

SqlHelper.ExecuteReader

etc.

like the way I used in web forms. It wouldn't create any design or other issue as I thought SqlHelper class is designed for web based technologies.

Regards,





Re: .NET Framework Data Access and Storage Can I use SQLHelper.cs

OmegaMan

nwcomer wrote:

Thanks, So I can Use

SqlHelper.ExecuteDataset

SqlHelper.ExecuteNonQuery

SqlHelper.ExecuteReader

etc.

like the way I used in web forms. It wouldn't create any design or other issue as I thought SqlHelper class is designed for web based technologies.

Regards,



Yep, here is an article from MSDN The Enterprise Library Data Access Application Block, Part 2 that provides a demo using Winforms.