%@ Language=VBScript %>
|
|
|
|
|
|
|
<% dim objConnection dim codigo dim ssql1 dim ssql2 dim query1 dim query2 codigo = request.querystring("codigosector") Set objConnection = Server.CreateObject("ADODB.Connection") objConnection.Open "PERUEXPORT", "sa", "" Set query1 = Server.CreateObject("ADODB.Recordset") ssql1 = "SELECT codigo_ss, nombre FROM subsector WHERE estado='1' and codigo_s ='" & codigo & "' order by 2" query1.Open ssql1, objConnection Set query2 = Server.CreateObject("ADODB.Recordset") ssql2 = "Select nombre from sector where codigo_s ='" & codigo & "'" query2.Open ssql2, objConnection %>
Sector: <%=query2("nombre")%>
"><%=query1("nombre")%> |
|
|
|
|
|
||
Copyright � 2000 AuriNet All Rights Reserved. | mail to: [email protected] |