You are here:

ASP.NET/How can I make the project create table within my existing database?


Hi Aman..

I'm currently learning ASP.NET and is following a tutorial which uses Entity Framework Code First

Upon creating the project using Visual Studio 2013,
it generated many default built in pages like register and login pages

It seems by following this tutorial it would generate a database for me
and it did.
I did not encounter any error and the project does run properly
My only problem is when if I want to use the register and login pages,
it also generates a database which contains ASPNETUSERS table and others

QUESTION: Is it possible to generate those tables not on separate database but on the existing one or preferred database?


Technically, all the table for a one project should be on the same database.

Suggest you to read the articles:

Hope this will help you.

And my apologies for the late reply.


All Answers

Answers by Expert:

Ask Experts


Aman Bhullar


1. Asp.Net(C#, VB) 2. IIS(6.0) 3. C# 4. Classic ASP 5. JavaScript


I have nearly 7 Years of Experience in Field of IT with Developer (Portal, Dynamic websites ,CRM's, CMS) Visual 2003,2005 ( , Database (SQL server 2005), Stored procedures IIS 5-6 JavaScript, CSS, DHTML, XML

Hold Masters in Computer Applications

Awards and Honors
Contributor Member of Achieved Master Certification(Programming for ASP.NET) []

©2017 All rights reserved.

[an error occurred while processing this directive]