Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/02/2006, 06:11
Avatar de mc_quake
mc_quake
 
Fecha de Ingreso: enero-2006
Ubicación: www.ecocargo.cl
Mensajes: 683
Antigüedad: 19 años, 3 meses
Puntos: 8
espero esto te sirva

hola compadre mira yo tengo algo asi

este es mi archivo correo.txt
Cita:
<%
'===========ABRE LA CONECCION ODBC ( atencion )=================

Set atencion = Server.CreateObject("ADODB.Connection")
atencion.CommandTimeout = 30

atencion.Open "DSN=atencion","",""

' atencion.Open Session("Correspondencia_ConnectionString"), PRV_USUARIO, PRV_PASSWORD

Set CmdTemp = Server.CreateObject("ADODB.Command")
Set Reg = Server.CreateObject("ADODB.Recordset")

Set CmdTemp1 = Server.CreateObject("ADODB.Command")
Set Reg1 = Server.CreateObject("ADODB.Recordset")

Set CmdTemp2 = Server.CreateObject("ADODB.Command")
Set Reg2 = Server.CreateObject("ADODB.Recordset")

Set CmdTemp3 = Server.CreateObject("ADODB.Command")
Set Reg3 = Server.CreateObject("ADODB.Recordset")


'================================================= ==============
%>

y lo llamo desmi mi pagina asp asi:

Cita:
<!--#include file="include/Correo.txt"-->

<%


cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = Atencion


%>
__________________
Mc_Quake

Para ayudar en lo que se pueda:Zzz: