Connect to the Database SQL Server
<Connectionstrings>
<Add name = "sqlservercon" connectionstring = "Data Source = PC-YZC \ sqlexpress; initial catalog = News; persist Security info = true; user id = sa; Password = 19920514"/>
</Connectionstrings>
Data Source = PC-YZC \ sqlexpress server name
Initial catalog = News Database Name
SQL Server Authentication
User ID = sa User Name
Password = 19920514 Password
Start cache
Cd c: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319
Aspnet_regsql-c "Data Source = PC-YZC \ sqlexpress; initial catalog = News; persist Security info = true; user id = sa; Password = 19920514"-ed-et-T "t_news1"
Stop Cache
Cd c: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319
Aspnet_regsql-c "Data Source = PC-YZC \ sqlexpress; initial catalog = News; persist Security info = true; user id = sa; Password = 19920514"-dd
========================================================== ========================================================== ========================
Connect to the database Oracle
<Connectionstrings>
<Add name = "oraclecon" connectionstring = "Data Source = orcl; persist Security info = true; user id = yaozc; Password = yaozc; Unicode = true"
Providername = "system. Data. oracleclient"/>
</Connectionstrings>
Data Source = orcl Database Name
User ID = yaozc User Name
Password = yaozc Password