c# - Create and manage database in visual studio 2013 -


i'm learning basics of asp.net , visual studio 2013. teacher has given me assignment create basic student registration form , when student clicks submit, data should uploaded database.

and there should option display submitted data in single table in webpage.

i've created basic web form don't know how create , connect database.

using php, create mysql connection , use sql queries rest.

how do in asp.net , sql server?

ps. i'm using sql server 2012 , visual studio 2013 community edition.

any appreciated.

you have number of options here. recommend based on appears limited experience tool entity framework https://msdn.microsoft.com/en-us/data/ef.aspx or nhibernate http://nhibernate.info/ sufficient. benefit of these tools can generate entire database model or vs versa. nhibernate might little more complex setup go entity framework. google samples, there should plenty!

if familiar php similar such tool doctrine http://www.doctrine-project.org/ have used , pretty good.

the key need adjust totally new paradigm development (unless have used oo development within php)

good luck development.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -