Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/06/2002, 14:51
Avatar de urjose
urjose
 
Fecha de Ingreso: diciembre-2001
Mensajes: 5.286
Antigüedad: 22 años, 5 meses
Puntos: 1
Re: foros de snitz

'strDBType = "sqlserver"
'strDBType = "access"
'strDBType = "mysql"

Ahi le quitas el ' , dependiendo la base de datos a utilizar...

'## Make sure to uncomment one of the strConnString lines!
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\snitz_forums_2000.mdb&quo t; '## MS Access 2000
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 97 using virtual path
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 97 on Brinkster
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97
strConnString = "Provider=SQLOLEDB;Data Source=xxxxxx;database=xxxxx;uid=xxxxxx;pwd=xxxxxx xxx;" '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;databas e=DB_NAME" '## MS SQL Server 6.x/7.x/2000 (ODBC connection)
'strConnString = "driver=MySQL;server=xxxxx;uid=xxxxxx;pwd=xxx xx;database=foros" '## MySQL
'strConnString = "DSN_NAME" '## DSN


Lo mismo para lo anterior, descomentas (quitas el ') para la base de datos a utilizar

Saludos

<center><a href="http://www.comunidadguru.com">
<img border="0" src="http://pcmasmas.com.ar/foro/images/avatars/043.gif"></a></center>