Dim strConnectionString As String = "Driver={SQL Server};Server=localhost;Database=db_name;Uid=sa;Pwd="
Code
Dim strConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath("database/mydatabase.mdb")&";Jet OLEDB:Database Password=;"