Thursday, 12 December 2013

How to create a database with tables to store inputs in visual studio using c#

Take the option server explorer from  view.
On top of data connections click the image with label "connect to database".
Then you can view a tab where we have to fill database new or existing with a new name like "dbs" or any other name.

Then you can see dbs.mdf symbol,which shows database is created.
Click it and you can see many options from that select option "Tables".

From Tables click option "add new table".

Then a  tab comes where you can fill the table details.
Here you have to select the apt data type for each column.

No comments:

Post a Comment