% Dim Conn, Rs, Cm, strConn Dim sRresultado, Dia, Fecha sResultado="" Dia = 0 checked1="" checked2="" Diahoy = day(now()) if len(Diahoy) = 1 then Diahoy = "0" & Diahoy End If Fechahoy = Diahoy & "/" & "12/2002" Dia = Diahoy If Request.form <> "" then Seleccion = Request.form("rdobutton") Deporte = Request.form("DdmDeporte") Nombre = Request.form("TxtNombre") Seleccion = Request.form("RdoConsulta") Dia = Request.form("txtDia") If not Isnumeric(Dia) then Dia = 0 End If if len(Dia) = 1 then Dia = "0" & Dia End If Fecha = Dia & "/" & "12/2002" Select Case Seleccion Case 1 checked1 = "checked" Case 2 checked2 = "checked" End Select If Seleccion = 1 then If Deporte = 0 then If Dia = 0 then Set Conn = Server.CreateObject("Adodb.Connection") Set Rs = Server.CreateObject("Adodb.Recordset") strConn = "dsn=coe; UID=coe; PWD=coe" Conn.Open strConn var_aux = "exec FOE_ConsultaResultados " & "'" & Fechahoy & "';" Rs.Open var_aux,Conn Else Set Conn = Server.CreateObject("Adodb.Connection") Set Rs = Server.CreateObject("Adodb.Recordset") strConn = "dsn=coe; UID=coe; PWD=coe" Conn.Open strConn var_aux = "exec FOE_ConsultaResultados " & "'" & Fecha & "';" Rs.Open var_aux,Conn End If Else If Dia = 0 then Set Conn = Server.CreateObject("Adodb.Connection") Set Rs = Server.CreateObject("Adodb.Recordset") strConn = "dsn=coe; UID=coe; PWD=coe" Conn.Open strConn var_aux = "exec FOE_ResultadosDeporte " & Deporte & ";" Rs.Open var_aux,Conn Else Set Conn = Server.CreateObject("Adodb.Connection") Set Rs = Server.CreateObject("Adodb.Recordset") strConn = "dsn=coe; UID=coe; PWD=coe" Conn.Open strConn var_aux = "exec FOE_ResultadosDeporteFecha " & Deporte & ",'" & Fecha & "';" Rs.Open var_aux,Conn End If End If Else Set Conn = Server.CreateObject("Adodb.Connection") Set Rs = Server.CreateObject("Adodb.Recordset") strConn = "dsn=coe; UID=coe; PWD=coe" Conn.Open strConn var_aux = "exec FOE_ResultadosDeportistas " & "'" & Nombre & "';" Rs.Open var_aux,Conn End If Else checked1 = "checked" Set Conn = Server.CreateObject("Adodb.Connection") Set Rs = Server.CreateObject("Adodb.Recordset") strConn = "dsn=coe; UID=coe; PWD=coe" Conn.Open strConn var_aux = "exec FOE_ConsultaResultados " & "'" & Fechahoy & "';" Rs.Open var_aux,Conn End If %>
| |
| |
Organización | Calendario |
Noticias | © 2001 - Derechos Reservados Comité Olímpico Ecuatoriano |