. NET is a platform, simply called a class library, development environment, a bit like the JVM and JDK in Java.
C # is the language, completely object-oriented, and the syntax is almost identical to Java.
ASP. NET is a technical framework that is similar to SSH, simplifying web development.
Development time is generally divided into two tiers, the page layer component rich, background layer is C # processing.
VS installation package is generally relatively large, the general internet can be used casually next to find the step driver, the next step is OK. Feel that vs and Eclipse are equally good.
SQL Server is relatively small, installation is also a fool, learning difficulty is a variety of tool configuration, but beginners do not have to involve at all.
Connect to the database.
Create a database in SQL Server or additional online search, if the additional time reported 5120 error, run as Administrator is OK, or the permissions of the MDF file all users are changed to Full control
When setting a login, use Windows identity to start a hybrid login, set a login password and enable authorization, sometimes the failure may be forgotten intermediate Restart instance, specific reference http://blog.csdn.net/sunqing0316/article/ details/46623823 (1, first sign in with Widnows 2, right-click the attribute, 3, select "Security" to select the authentication method: 4, right-click Instance--"Restart" 5, select "Security"--"Login name"- "SA", double-click "SA", the following view appears, click "General", set a new password 6, select "Status", modified to the following settings)
Can use account password login, switch to code operation, set up database instance, database, account, password, code as follows:
<add key= "consql" value= "Data source=localhost\sqlexpress;initial Catalog=class; User Id=sa; password=1; "/>
. NET Connection Database