below is my connection string.............
myConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Server.MapPath/AttendanceReport.mdb;")
ive got this error.............
C:\WINNT\system32\Server.MapPath\AttendanceReport.mdb is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
which means that it read the wrong path of my database. how can i make changes of my server.mappath so that it read C:\Inetpub\wwwroot.........
myConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Server.MapPath/AttendanceReport.mdb;")
ive got this error.............
C:\WINNT\system32\Server.MapPath\AttendanceReport.mdb is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
which means that it read the wrong path of my database. how can i make changes of my server.mappath so that it read C:\Inetpub\wwwroot.........