How to Create a Database in SQL Server Express
- 1). Click the "File" menu in your Visual Studio console and select "New Project." This opens a window asking what type of application to create.
- 2). Select "Windows Application" for this sample. You can also create a web application from this window. Enter the name of the project, and press the "Ok" button.
- 3). Click the "Project" menu at the top of the Visual Basic application and select "Add New Item." This opens a list of item types to add to the current project. Select "SQL Database."
- 4). Enter a name for the database. This name should correspond with the application's name. Click the "Add" button.
- 5). Click the "Finish" button at the "Data Source Configuration Wizard" window.
Source...