ASP.NET Presentation Layer, BLL, DAL
Greetings I am new to vb and asp but have just finished creating a website in visual web developer.
I have some presentation layer pages where the end user is to type in data into txtboxes and hit submit at the bottom to send the data into my database.
I have researched and seen that the use of BLL and DAL is the way to go for security purposes...using get/set to move the info from presentation layer to bll to dal and then to database.
Obviously my question is a bit ambiguous . but can somebody point me in the right direction... maybe letting me know what steps are needed to accomplish this... I have found a few examples in the msdn pages... but most are instructions to take data from the database and present it on the asp page... i just need to send the data from the asp page to the database.
Thanks!
Re: ASP.NET Presentation Layer, BLL, DAL
Hello,
Here are two very thorough walkthroughs on doing just this:
http://imar.spaanjaars.com/416/build...pnet-20-part-1
http://imar.spaanjaars.com/476/n-lay...l-introduction
If you can get the data from the database, to the page, then the reverse operation follows a very similar pattern. You would have methods on your DAL that inserts/updates the data in the database. Your BLL would call these methods once they have worked on the data to make it correct, and your UI would call the methods on your BLL based on the information that is posted to the web form.
Gary