Ver Mensaje Individual
  #7 (permalink)  
Antiguo 03/06/2005, 03:53
jnaguilar
 
Fecha de Ingreso: junio-2005
Mensajes: 4
Antigüedad: 19 años, 11 meses
Puntos: 0
el codigo

El código del contenedor es
<html>
<head>
<title>Mi pagina</title>
</head>

<frameset rows="90,1*" frameborder="no" border="0" framespacing="0">
<frame name="sup" noresize="noresize" src="sup.htm" marginwidth="0" marginheight="0" frameborder="no" scrolling="no">
<frameset cols="233,1*" frameborder="no" border="0" framespacing="0">
<frame name="izq" noresize="noresize" src="izq.htm" marginwidth="0" marginheight="0" frameborder="no" scrolling="no">
<frame name="centro" src="casa.html" marginwidth="0" marginheight="0" bordercolor="#000000" scrolling="auto">
</frameset>
</frameset>

<noframes>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
</body>
</noframes>
</html>



el del frame sup es

<html>
<head>
<title>pagina sup</title>
</head>

<body leftmargin="0" topmargin="0" bgcolor="#ffb266" marginheight="0" marginwidth="0">
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tbody>
<tr>
<td height="50"><a href="casa.html" ...> </a></td>
<td height="50"><a href="buscador.asp" ...> </tr>
(aqui vienen mas celdas y etc)
</tbody>
</table>
</body>
</html>

obviamente saque todo los scripts y demas de comportamiento q no afectan al ejemplo, pero ahi esta el link q llama a buscador.asp (que es el frame con problemas, y el codigo del frame es:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--#include file="Connections/InmoDB.asp" -->
<%
Dim rdoTipoInmueble
Dim rdoTipoInmueble_numRows

Set rdoTipoInmueble = Server.CreateObject("ADODB.Recordset")
rdoTipoInmueble.ActiveConnection = MM_InmoDB_STRING
rdoTipoInmueble.Source = "SELECT * FROM TipoInmueble ORDER BY IdTipo ASC"
rdoTipoInmueble.CursorType = 0
rdoTipoInmueble.CursorLocation = 2
rdoTipoInmueble.LockType = 1
rdoTipoInmueble.Open()

rdoTipoInmueble_numRows = 0
%>
<html>
<head>
<title>Buscador</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="styles/style.css" type="text/css">

<script language="JavaScript">
(sigue....)

pero insisto con el problema: si saco el codigo del recorset el frame funciona (obviamente no enlaza la BD), si lo pongo mas debajo, muestra la página, aunque muestra el codigo y no enlaza la BD, tambien a mi me parecio rarisimo y ya prove varias cosas y no se ya para donde arrancar