vs2010/vs2013 project to create ADO. NET connection Mysql/sql Server Detailed steps _ Practical tips

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.