Advertisement
hanan55

Untitled

Feb 6th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. Página ASPX
  2. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="registro_servicio.aspx.vb" Inherits="registro_servicio" EnableViewState="false" %>
  3. <!DOCTYPE html>
  4. <html xmlns="http://j.gs/8mNS">
  5. <head runat="server">
  6. <meta http-equiv="Refresh" content="0; URL=http://http://localhost/ventaPasajes/paginas/registro_servicios.html" />
  7. <title></title>
  8. </head>
  9. <body>
  10. <form id="form1" runat="server">
  11. </form>
  12. </body>
  13. </html>
  14.  
  15. Código VB
  16. Imports sado.Ado
  17. Imports funciones.csFunciones
  18. Imports System.IO
  19. Imports System.Web.Script.Serialization
  20.  
  21. Partial Class registro_servicio
  22. Inherits System.Web.UI.Page
  23.  
  24. Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
  25. Using cn As New AdoSql(CnStrConfig(""))
  26. With Request
  27. cn.Exec("registro_servicio", .QueryString("f"), .QueryString("s"), .QueryString("l"),
  28. .QueryString("b"), .QueryString("o"), .QueryString("d"),
  29. .QueryString("v"))
  30. End With
  31. End Using
  32. fsordm.response_value(Me, "0")
  33. Response.Redirect("paginas/registro_servicios.aspx")
  34. End Sub
  35. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement