Help About DropDownList RRS feed

  • Question

  • I am a beginner and I'm about to learn
    I use DropDownList to display a color list from a table in my database.
    and it works well.

    I want you to help me add a test, I'll explain.
    if color "red" go to page "Page1.aspx"
    if color "yellow" go to page "Page2.aspx"
    if color "black" go to page "page3.aspx"
    using a button.

    please help me to program this button.
    here's the button code:




    protected void Button2_Click(object sender, EventArgs e)




    Tuesday, April 19, 2011 4:27 PM