Thread: how to write odbc sql in visual c++6.0

how to write odbc sql in visual c++6.0

From
"robin"
Date:
Dear sir,
 
  I use visualc++ 6.00 and postgresql7.21 .
  and odbc is ok!
 
  but when i start the program.
  it display connect to database failde.
 
  visualc++ 中
 
  odbc:
   dsn=dsnname;uid=dsnuser;pwd=dsnpwd
 
  
  so how can i set it correctly??
 
   Thanks!
 
  best regards!
                                   robin
                                   0755-82211783-111