MC++ && MS SQL

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have read some codes like following:
///////////////////////////////////////////
SqlConnection* conn =
new SqlConnection(S"Server=localhost;"
S"Database=Northwind;"
S"Integrated Security=true;");

adapter = new SqlDataAdapter(S"SELECT * FROM Employees", conn);

eventHandler = new SqlEventHandler(adapter, this);

commandBuilder = new SqlCommandBuilder(adapter);

conn->Open();
///////////////////////////////////////////

I wondered can we link to the database without username and password?
.



Relevant Pages

  • Re: JDBC, MySQL connection
    ... One thing you have to check is,check the username and password of the ... database from which you want to access the data. ... regards... ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: Can anyone tell me what wrong with this please!
    ... the database information(i.e. ... username, password, etc.). ... Ohdarn ... Prev by Date: ...
    (comp.lang.php)
  • Cant get access to my access (be doom ch!)
    ... I am currently runing Access 97. ... I have moved a database from one computer to another, ... username is in there under MSysUserList. ... Prev by Date: ...
    (microsoft.public.access.security)
  • database password issues
    ... We have a problem where one of our Access database files is asking for a ... It doesn't ask for a username only a password, ... I believe someone has set a database password. ... Prev by Date: ...
    (microsoft.public.access.security)
  • Re: Pathname to access and usernames in shortcut
    ... >> network drive (for maintenance reasons initially, ... >> using usernames but no passwords. ... change their passwords within the access database (they won't know how ... >> gets the current username from the system and then calls access (via the ...
    (microsoft.public.access.security)