ADO Database ASP.Net

<%@ Page Language="C#" %>
<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.Data.SqlClient" %>
<%@ import Namespace="System.Data.OleDb" %>
<%@ import Namespace="System.Data.Odbc" %>

    void Page_Load(object sender, EventArgs e) {
        SqlConnection mySqlConnection = new SqlConnection("Data Source=whsql-v08.prod.mesa1.secureserver.net;Initial Catalog=DB_49907;User ID=rntsoftuser;Password='password';");
        mySqlConnection.Open();
    
        lblSqlConnectionString.Text = mySqlConnection.ConnectionString;
        lblSqlConnectionTimeout.Text = Convert.ToString(mySqlConnection.ConnectionTimeout);
        lblSqlDatabase.Text = mySqlConnection.Database;
        lblSqlDataSource.Text = mySqlConnection.DataSource;
        lblSqlPacketSize.Text = Convert.ToString(mySqlConnection.PacketSize);
        lblSqlServerVersion.Text = mySqlConnection.ServerVersion;
        lblSqlState.Text = Convert.ToString(mySqlConnection.State);
        lblSqlWorkstationId.Text = mySqlConnection.WorkstationId;
    
        // close the connection
        mySqlConnection.Close();
    
        // *******************
        // * OleDbConnection *
        // *******************
    
        // create the object
        OleDbConnection myOleDbConnection = new OleDbConnection("provider=sqloledb;server=(local)\\BAND;database=Books;uid=band;pwd=letmein;");
    
        // open the connection
        myOleDbConnection.Open();
    
        // set the labels on the form
        lblOleDbConnectionString.Text = myOleDbConnection.ConnectionString;
        lblOleDbConnectionTimeout.Text = Convert.ToString(myOleDbConnection.ConnectionTimeout);
        lblOleDbDatabase.Text = myOleDbConnection.Database;
        lblOleDbDataSource.Text = myOleDbConnection.DataSource;
        lblOleDbProvider.Text = myOleDbConnection.Provider;
        lblOleDbServerVersion.Text = myOleDbConnection.ServerVersion;
        lblOleDbState.Text = Convert.ToString(myOleDbConnection.State);
    
        // close the connection
        myOleDbConnection.Close();
    
        // *******************
        // * OdbcConnection *
        // *******************
    
        // create the object
        OdbcConnection myOdbcConnection = new OdbcConnection("driver={SQL Server};server=(local)\\BAND;database=Books;uid=band;pwd=letmein;");
    
        // open the connection
        myOdbcConnection.Open();
    
        // set the labels on the form
        lblOdbcConnectionString.Text = myOdbcConnection.ConnectionString;
        lblOdbcConnectionTimeout.Text = Convert.ToString(myOdbcConnection.ConnectionTimeout);
        lblOdbcDatabase.Text = myOdbcConnection.Database;
        lblOdbcDataSource.Text = myOdbcConnection.DataSource;
        lblOdbcDriver.Text = myOdbcConnection.Driver;
        lblOdbcServerVersion.Text = myOdbcConnection.ServerVersion;
        lblOdbcState.Text = Convert.ToString(myOdbcConnection.State);
    
        // close the connection
        myOdbcConnection.Close();
    }





    
        

Properties from the MSDE Connection 
        


        
        


        


        

From SqlConnection 
        


        
            
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
            
        

                        ConnectionString: 
                    

                        ConnectionString

                        ConnectionTimeout: 
                    

                        ConnectionTimeout

                        Database: 
                    

                        Database

                        DataSource: 
                    

                        DataSource

                        PacketSize: 
                    

                        PacketSize

                        ServerVersion: 
                    

                        ServerVersion

                        State: 
                    

                        State

                        WorkstationId: 
                    

                        WorkstationId

        


        


        

From OleDbConnection 
        


        
            
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
            
        

                        ConnectionString: 
                    

                        ConnectionString

                        ConnectionTimeout: 
                    

                        ConnectionTimeout

                        Database: 
                    

                        Database

                        DataSource: 
                    

                        DataSource

                        Provider: 
                    

                        Provider

                        ServerVersion: 
                    

                        ServerVersion

                        State: 
                    

                        State

        


        


        

From OdbcConnection 
        


        
            
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
            
        

                        ConnectionString: 
                    

                        ConnectionString

                        ConnectionTimeout: 
                    

                        ConnectionTimeout

                        Database: 
                    

                        Database

                        DataSource: 
                    

                        DataSource

                        Driver: 
                    

                        Driver

                        ServerVersion: 
                    

                        ServerVersion

                        State: 
                    

                        State