Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, _
  2. ByVal e As System.EventArgs) _
  3. Handles DropDownList1.SelectedIndexChanged
  4. Dim id As String
  5. id = DropDownList1.SelectedItem.ToString()
  6. Response.Redirect("~/Admin/Accounting/Ledger.aspx?id=" + id)
  7. End Sub
  8.  
  9. Protected Sub Page_Load(sender As Object, e As EventArgs) ...
  10. If Not IsPostBack Then
  11. DropDownList1.DataSource = DATASOURCE
  12. DropDownList1.DataBind()
  13. End If
  14. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement