%
'id=1
id=request.querystring("id")
'if id="" then
'response.Redirect("tempnoticias.asp")
'end if
Set ObjNoticia = New TBNoticia
set Objdetnot = new TBDetNot
ObjNoticia.Opentabla
OBjDetNot.opentabla
ObjNoticia.BuscaxId(id)
if ObjNoticia.ExisteRegistro then
ObjNoticia.AsignaCampos
Else
response.Redirect("home.asp")
End If
ObjDetNot.BuscaxIdnoticia(id)
if ObjDetNot.existeregistro then
ObjDetNot.asignacampos
end if
%>
|
| |
<%if ObjDetNot.rs.eof then%>
| No Hay Detalle De Noticia Para la Noticia <%=mid(Objnoticia.rs("TITULO"),1,255)%> |
<% else %>
<%do while not ObjDetNot.rs.eof %>
| <%=mid(Objdetnot.rs("TITULO"),1,255)%> |
|
| <%=replace(ObjDetNot.rs("descripcion"),chr(13)," ")%> |
| |
<%
ObjDetNot.rs.movenext
loop
end if %>
|
|
 |
 |
|