
02/06/2005, 09:42
|
 | | | Fecha de Ingreso: noviembre-2003 Ubicación: Esporles, Mallorca, España
Mensajes: 690
Antigüedad: 21 años, 6 meses Puntos: 4 | |
este es el codigo k me supongo debo editar:
'--------------------- Set the path and name of the database --------------------------------------------------------------------------------
'Virtual path to database
'strDbPathAndName = Server.MapPath("/Data/wwForum.mdb") 'This is the path of the database from this files location on the server
'Physical path to database
strDbPathAndName = "D:\XVRT\esporlesbc.com\Data\wwForum.mdb" 'Use this if you use the physical server path, eg:- C:\Inetpub\private\wwForum.mdb
'BRINKSTER USERS (Web Wiz Forums only works with free Brinkster accounts, not for the paid accounts)
'Brinkster users remove the ' single quote mark from infront of the line below and replace USERNAME with your Brinkster uersname
'strDbPathAndName = Server.MapPath("/USERNAME/db/wwForum.mdb")
'PLEASE NOTE: - For extra security it is highly recommended you change the name of the database, wwForum.mdb, to another name and then
'replace the wwForum.mdb found above with the name you changed the forum database to.
'---------------------------------------------------------------------------------------------------------------------------------------------
'------------- If you are having problems with the script then try using a diffrent driver or DSN by editing the lines below --------------
'Generic MS Access Database connection info and driver (if this driver does not work then comment it out and use one of the alternative faster JET OLE DB drivers)
'strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & strDbPathAndName
'Alternative drivers faster than the generic one above
'strCon = "Provider=Microsoft.Jet.OLEDB.3.51; Data Source=" & strDbPathAndName 'This one is if you convert the database to Access 97
strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & strDbPathAndName 'This one is for Access 2000/2002
'If you wish to use DSN then comment out the driver above and uncomment the line below (DSN is slower than the above drivers)
'strCon = "DSN=ash.es.wwForum" 'Place the DSN where you see DSN_NAME
'---------------------------------------------------------------------------------------------------------------------------------------------
estan todos lo datos rellenados, pero nose que campos debo activar i desactivar para que me funcione....
lo siento mucho, pero esk soy nuevo en ASP |