Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sweet day
I need to know how to creation a data base in asp .net
and how to creation a table
and i need to know how conection between my sql (data base) and between my
code
eg. if i create screen consist a user name and password
i know i need to create a table in data base consist a user name conection with user
name so the user name and password in the screen read in data base thats i create it
and thanks for all
Posted

To be honest, the answers to your questions could fill books and is a little too much to be answered quickly.

It would be best to read some articles on database design first. Then you must look at SQL in order to learn how to insert and retrieve data into and from the database. After that you will need to do some reading about ADO .Net, especially on how to use the SqlConnection, SqlCommand and SqlParameter objects in order to send SQL commands to the database and receive the results. Most articles will be about MS SQLServer, so it's better to start with this first.

Just do a little search here in the articles and you will certainly find a few articles on any of those subjects. It will probably take a little time and distract you from what you want to do, but after that you will understand a little more about databases and get on with your project a little easier.

Last you will need to download the current version of the .Net connector for the MySQL database. It works similar to the objects uses for MS SQLServer, but it's not 100% identical.
 
Share this answer
 
Here[^] is a step by step tutorial, although if you do not yet know how to create a database and a table you might struggle a little with it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900