Ahojte,
prosim vas aky je connection string na access databazu a akym sposobom vypisat data z tabulky v ASP. Ja mam nieco taketo:
Set DataConn = Server.CreateObject("ADODB.Connection")
On Error Resume Next
DataConn.Open "w:\domains\www.mojadomena.sk\public\www_root\data\moja_db.mdb"
Set cmdDC = Server.CreateObject("ADODB.Command")
cmdDC.ActiveConnection = DataConn
Set rsDC = Server.CreateObject("ADODB.Recordset")
cmdDC.CommandText = "SELECT * from tabulka where slovo='skuska'"
cmdDC.CommandType = 1
On Error Resume Next
rsDC.Open cmdDC, , 0, 1
If Not rsDC.EOF Then
rsDC.MoveFirst
tmpVysl = rsDC(0)
End If
rsDC.close
SlovaLang = tmpVysl
a nefunguje to. neviete v com moze byt problem?
|