A couple of weeks ago I asked a question and I got totally slammed for using an ancient datastructure. I got questions why I didn't use ado.net and stored procedures, and many others. This had acctually been bothering me for a month, as I'm not very used to ADO.NET, or stored prodcedures. I have only done php programming when coding for the web.
Therefore would you please tell me(dont have to do it in detail) how I should structure/model my ASP.NET page.
Today it works like this.
I have a webservice file filled with all my methods, these methods INSERT, UPDATE, DELTE and FETCH data. From my codebehind file I invoke the webserive class, and pass things from the webform.
I do use a stored procedure for checking the login and password.
- Should I only be going for stored procedures?
- SHould I add something if that's the case what?
- Shoudl I let the webforms go directly from the codebehind to the database?
- How whould I implement ADO.NET?