1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
   |  
 Sub Button1_Click(sender As Object, e As EventArgs)
     Try
      response.redirect("tableau_html.aspx?id="+DropdownList1.Text.ToString()+"")
 
       Catch Ex As Exception
        response.write(Ex.Message)
      End Try
       End Sub
 
</script>
<html>
<head>
</head>
<body>
    <form  runat="server">
        <div align="center">
            <asp:DropDownList id="DropDownList1" runat="server"></asp:DropDownList>
        </div>
        <div align="center">
        </div>
        <div align="center">
            <asp:Button id="Button1" onclick="Button1_Click" runat="server" methode="POST" Text="Display Users"></asp:Button>
        </div>
        <!-- Insert content here -->
    </form>
</body>
</html> | 
Partager