Hi friend,
Try this below code...
this will solve ur probelm...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:DropDownList runat="server" ID="DDl">
<asp:ListItem>One</asp:ListItem>
<asp:ListItem>Two</asp:ListItem>
<asp:ListItem>Three</asp:ListItem>
</asp:DropDownList>
<br />
<asp:Button runat="server" ID="btnSubmit" Text="Submit"
onclick="btnSubmit_Click"/>
</div>
</form>
</body>
</html>
In Code Behind U Write this Code...
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (DDl.SelectedIndex == 0)
{
Response.Redirect("One.aspx");
}
else if (DDl.SelectedIndex == 1)
{
Response.Redirect("Two.aspx");
}
else if (DDl.SelectedIndex == 2)
{
Response.Redirect("Three.aspx");
}
}