| Home | About FairCom | Products | Support | Sales | Contact Info | Site Map | Download | Newsletter |

Company Overview
History
Our Customers
Success Stories
Contact Information
Why FairCom
FairCom Logos
Press Releases
Customer Quotes
Site Map
Read the Dr. Dobb's Journal article on cross-platform database Programming
Read HP WORLD's article on the c-tree Server
Read the Linux Journal review on c-tree Plus
FairCom Brochure
 
 

DNS-less Connection Strings in a .NET Application

Question:

I want to use a .NET application to connect to the c-treeSQL ODBC driver using a DSN-less connection string. What is required?

Answer:

Your application should include `using System.Data.Odbc' and the following string for the default installation on a local machine.

string connectString=
   "DRIVER={c-treeSQL ODBC Driver}; TRUSTED_CONNECTION=false;"; 
   connectString += "HOST=localhost; DATABASE=ctreeSQL;";
   connectString += "UID=ADMIN; PWD=ADMIN;";

The values of HOST, DATABASE, UID, and PWD are substituted as appropriate for your c-treeSQL Server installation.


 
FairCom support has been the best that I have experienced. Here at FedEx we say thanks a lot with what we call a BZ (Bravo Zulu)!

Danny Baser
Federal Express

 
WEB COMMENTS
Copyright 2006 FairCom Corporation. All rights reserved.