p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4.5 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=710)
-   -   Database (http://p2p.wrox.com/showthread.php?t=95456)

KepraSion January 19th, 2016 08:30 PM

Hello.I want to incorporate a comment box into the website.I believe it requires a database,and so does a login control.I understand that,from chapter 16, .NET creates a database for the login control if it doesnt find one in the solution.Can I use this .NET-created database for the purpose of the comment box.and how can I move the database into the App_Data folder in solution explorer.

Lastly,Im not sure as to what provider I may use to allow only logged-in users to make comment in the comments box.thanks in advance.

Imar January 20th, 2016 05:55 AM

Hi there,

Yes, you can. it's created in App_Data by default. Check out Appendix B, section "CONFIGURING APPLICATION SERVICES" on page 805 to learn how to merge your own database and the users database.



All times are GMT -4. The time now is 09:21 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.