Aqui esta el codigo
Código ASP:
Xfa ayudenme!!! Ver original
<form id="formReporte" name="formReporte" method="post" action="#" onSubmit="javascript:Validacion()"> <legend>Fecha</legend> <% SQL_pro="SELECT DISTINCT(pry_name), pryid FROM Proy_gral WHERE activo=1 and not pry_name='' ORDER BY pry_name ASC" set rs_pro=conexion.execute(SQL_pro) %> Proyecto<select name="cboProyectos" id="cboProyectos"> <% do while not rs_pro.eof %> <option value=<%=rs_pro(1)%>><%=rs_pro(0)%></option> <% rs_pro.movenext loop %> </select> <br /> Año <select name="cboAno"> <option value="2007">2007</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> <option value="2011">2011</option> <option value="2012">2012</option> <option value="2013">2013</option> <option value="2014">2014</option> <option value="2015">2015</option> <option value="2016">2016</option> <option value="2017">2017</option> <option value="2018">2018</option> <option value="2019">2019</option> <option value="2020">2020</option> </select> Mes <select name="cboMes"> <option value="1">january</option> <option value="2">february</option> <option value="3">march</option> <option value="4">april</option> <option value="5">may</option> <option value="6">june</option> <option value="7">july</option> <option value="8">august</option> <option value="9">september</option> <option value="10">october</option> <option value="11">november</option> <option value="12">december</option> </select> <p /> <input type="submit" value="Generar Reporte"/> </form>