Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums

Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums (http://www.freeadvertisingzone.com/index.php)
-   Internet Marketing Forums (http://www.freeadvertisingzone.com/forumdisplay.php?f=50)
-   -   【 】 ASP ASP reading excel database linkage Pr (http://www.freeadvertisingzone.com/showthread.php?t=1289418)

05-30-2011 09:54 PM

【 】 ASP ASP reading excel database linkage Pr
 
MS 's direction of reading the OLEDB patronize to the database data in EXCEL ,New Lacoste Trainers High Top, so you can easily way data from excel ,Womens Lacoste Arin Trainers, yet one thing to note , to read data from excel , you can not execute the way to use reading, but must Open the way to use to read
routine :
obscure ConnExcel, sql, R######cel, ExcelFile
ExcelFile =
ConnExcel = ConnectToExcel (ExcelFile) ' Note namely the chart name have to be the following side this format test
Sql =
Set R######cel = Server.CreateObject (
'ASP perusing excel file,Lacoste Arixia FD Trainers, use the open usage ,Lacoste Protect Laser Trainers, which tin no execute usage to be wrong with the execute
R######cel.open Sql, ConnExcel,Lacoste Radiate Croc Trainers, 1,3
IF R######cel.Eof And R######cel.Bof Then
Response.write
Else
Do While Not R######cel.EOF
Response.jot R######cel (0)
R######cel.MoveNext
Loop
End IF
R######cel.Close
Set R######cel = nothing
Function ConnectToExcel (FileName)
Dim ConnName, ConnStr,Lacoste Carnaby Trainers, Rs
' create Connection object
Set ConnName = Server.CreateObject (
'ConnStr =
'ConnStr =
ConnStr =
' shriek the Open method to open the database
ConnName.Provider =
ConnName.ConnectionString = ConnStr
ConnName.Open
set ConnectToExcel = ConnName
Set ConnName = naught
End Function


All times are GMT. The time now is 08:10 PM.

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum