On Dec 23, 7:55*am, tindatrue <tindat...@discussions.microsoft.com>
wrote:
> criteria
> I want to make three dropdown list in my asp.net form
> DDL 1 is Publisher
> DDL 2 is Author
> DDL 3 is Books
> in first list user select publisher,second list automatically change depend
> on what
> publisher selected in first list,similarly third list change depend on first
> and/or second list. after selection, user press search button, and extract
> data from access
> database and show result of selected search items from dropdown lists.
>
> How to achieve this taks ? anyone can help ??
>
> Thanks in advance for prompt reply
>
> --
> aaaaaaaa
A regular way is to set AutoPostBack property to True
http://msdn.microsoft.com/en-us/libr...pdownlist.aspx
<asp

ropDownList id="ColorList"
AutoPostBack="True"
OnSelectedIndexChanged="Selection_Change"
runat="server">
.......
void Selection_Change(Object sender, EventArgs e)
{
// Use ColorList.SelectedItem.Value to get the selected value
.....
DropDownList2.DataSource = ...
DropDownList2.DataBind();
}
and so on