Connecting to sql express



  • hi to everyone
    i connected to sql server with this connection strings:
    @"DRIVER={SQL SERVER};SERVER=%1;DATABASE=%2;"@
    and i want to use this connection string for sql express , but i can't connect to it , how can i solve it?
    @"Server=.\SQLExpress;AttachDbFilename=c:\release\mydbfile.mdf; Database=dbname;Trusted_Connection=Yes;"@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.