This essay is mainly for beginners through the ado.net to connect the database steps (just beginning I also a lot of bad, so summary, let beginners familiar with the steps)
1, open vs Create a new project (here is not limited to the VS version, building projects are the same steps)
VS2010 version as shown:
VS2013 version as shown:
2. After the creation of the Non-empty project, there will be a "models" file in the right "solution Manager", the right button "models", the following steps:
2-1 steps
2-2 steps
2-3 steps
2-3-1 Note that this is a VS2010 version of the screenshot
2-4 steps
2-5 steps
2-6 steps
2-7 steps
2-8 steps
2-10 steps
2-11 steps
2-12 steps
At the end of this step, the essay is only for beginners to connect ado.net steps, VS2010 Basic can be normal, encounter VS2013 version of the connection MySQL will be wrong, about this can be viewed on an essay.
The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.