% categoria = Request("id") orden = Request("ord") filtro = Request("fil") if len(orden) <= 0 then orden = "preA" if len(filtro) <= 0 then filtro = "tod" call abrirBaseDatosAccess() set tabla = Server.CreateObject("ADODB.RecordSet") tabla.open "SELECT * FROM tCategorias WHERE cate_codig = " & categoria, dbConexion if tabla.eof then tabla.close tabla.open "SELECT * FROM tCategorias ORDER BY cate_codig", dbConexion categoria = tabla.fields("cate_codig") end if cateDescripcion = tabla.fields("cate_descr") cateImagen = tabla.fields("cate_image") tabla.close set tabla = nothing %>
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2.007-2.012.
Todos los derechos reservados
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||