Introduction
This article which will help all the people who need to work with the visual studio application and aren't very dependent on the data part. They have options to have many data sources.
When you require SQL database and do not want to install SQL Server in your machine then here is the solution for consuming the SQL database in your application where you don't need to install SQL installations.
Here the step by step process is explained with screen shots.
How to create a database file
- Step: Open Visual Studio and select view option.

- Step: In the View menu open the “Server Explorer”
Server Explorer is the place where all the database server related information will be available.
Go to view -> server Explorer or Ctrl+W+L,
- Step: Create a DataBase using Add Connection
The Add Connection is the command used to add the new server connection or any of the database connections to the Data Connections.

- Step: In Add Connection, you will be provided the option to select and add any new connection of the database.
You will have many options like ODBC, SQL ect. Here select the SQL.
Select Microsoft SQL Server Database File -> ok
Note:
Browse to create a DB file[Give a New DataBase Name in the File Name & Open] in Location : Always Recommeneded to create in APP Data folder of the project – using Browse Option
- Step: Database is Created and now it's time to create the table to the database, as these database tables are used in your applications.
Add New Table And Design The Database And Tables As Required

Add Table and create the data as you require for your application and start consuming the database into your application using the connection string fetched from Database ADO.Net Connections.
Hope this is very simple and very helpful for beginners; this feature can be used from the older visual studio version, here we have shown VS2008.
Read more articles on SQL Server:

Mohamed AliPosted Nov 11, 2017, 3:35 PM
My application use by multi users so i want to put my database on one machine and all users connect with it,, Can i do that ? without installing sql server on serer machine ?
Mohamed AliPosted Nov 11, 2017, 3:34 PM
Can i use this way via network ?
prerna dongrePosted Mar 1, 2017, 4:25 AM
Can you please help me to write database for application layer of any operating system installed in the hardware?
Bhuvanesh MohankumarPosted May 23, 2016, 3:43 AM
Thanks @Tirupathi
Bhuvanesh MohankumarPosted May 19, 2016, 6:52 AM
Thanks Ipsita Sethi
Ipsita SethiPosted May 11, 2016, 1:34 PM
Good Job Bhuvan
Thiruppathi RPosted Apr 29, 2016, 8:07 AM
Nice Info