
11/12/2002, 15:32
|
| | Fecha de Ingreso: noviembre-2002 Ubicación: Don Torcuato
Mensajes: 2
Antigüedad: 22 años, 5 meses Puntos: 0 | |
quiero armar leer, actualizar un tabla excel, conocer los componentes <%@Language=VBScript %>
<html>
<head>
<title>301_ConsultaExcel.asp</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" >
<h1>ASP - Consulta Excel con Excel Driver</h1>
<%
Set oRS = Server.CreateObject("ADODB.Recordset")
strCON = "Driver={Microsoft Excel Driver (*.xls)}; DBQ=C:\Inetpub\Wwwroot\Datos\Libro1.xls;"
strSQL = "SELECT * FROM Registros "
oRS.Open strSQL, strCON
Response.Write "<table border=1><tr><td>"
Response.Write oRS.GetString (, , "</tr><td>", "</td></tr><tr><td>", NBSPACE)
oRS.Close
Set oRS = Nothing
%>
</body>
</html>
*******************************************
tengo este ejemplo que funciona,perono entiendo la sentencia
Response.Write oRS.GetString (, , "</tr><td>", "</td></tr><tr><td>", NBSPACE)
*******************************************
el tema es que quiero agregar columnas y/o sacar, pero no se aque agregar y/o sacar
desde ya gracias por vuesta ayuda
************************************************* |