Do like this
for binding first combo say --dropdownlist1
make sure
autopostback=true
property will be true
dropdownlist1.items.clear();
sql="your sql query for filling table names";
<pre>dropdownlist1.datasource=ds;
dropdownlist1.datatextfield= "textfield name";
dropdownlist1.datavaluefield="value field name";
dropdownlist1.databind()
ds.clear();
for binding first combo say --dropdownlist2
make sure
sql2="your sql query for filling table columname where tablename=" + dropdownlist1.selectedvalue;
<pre lang="cs">
<pre>autopostback=true
property will be true
dropdownlist2.items.clear();
dropdownlist2.datasource=ds1;
dropdownlist2.datatextfield= "textfield name";
dropdownlist2.datavaluefield="value field name";
dropdownlist2.databind()
ds1.clear();
for binding first combo say --dropdownlist2
make sure <pre lang="c#"><pre>autopostback=true </pre></pre>property will be true
sql3="your sql query for filling data of your column where columnname=" + dropdownlist2.selectedvalue;
<pre lang="cs">//fill data into a data set say ds2
dropdownlist3.items.clear();
dropdownlist3.datasource=ds3;
dropdownlist3.datatextfield= "textfield name";
dropdownlist3.datavaluefield="value field name";
dropdownlist3.databind()</pre>
ds3.clear();
may it will help you...