http://www.cnblogs.com/gwazy/archive/2005/05/10/152312.aspx
demo:http://www.cnblogs.com/Files/gwazy/WebService.rar
[多级联动下拉选择框]和[Tree to Tree] 续:http://webuc.net/dotey/archive/2004/08/13/1651.aspx
Ajax实现无刷新三联动下拉框:http://singlepine.cnblogs.com/archive/2006/01/18/257954.html
无刷新三级联动:http://blog.csdn.net/allenlf/archive/2006/08/13/1056581.aspx
二级联动不同浏览器:http://oftengo.com/info/450-1.htm
解答:http://www.lemongtree.com/zh-cn/item.0000102.aspx
SqlConnection con = new SqlConnection("server=localhost;database=gswebDB;uid=sa;pwd=;");
SqlDataAdapter da = new SqlDataAdapter("select ClassName,ClassID from classname where ClassLevel=1",con);
DataSet ds = new DataSet();
da.Fill(ds);
this.DropDownList1.DataSource=ds.Tables[0].DefaultView;
this.DropDownList1.DataTextField = "ClassName";
this.DropDownList1.DataValueField = "ClassID";
this.DropDownList1.DataBind();
this.DropDownList1.Attributes.Add("onchange","load(this.options[this.selectedIndex].value)"); //将ClassID作为参数传递给脚本函数load(ClassID),如果要传递的是ClassName,应将value改为innerText,但如果大类为中文,则调用小类时出现无法显示的问题
// this.DropDownList2.Attributes.Add("onChange","javascript:document.Form1.TH.value=this.options[this.selectedIndex].value;"); //读取DropDownList2的值,将其赋给一个TextBox控件TH,以获取DropDownList2的值,为获取DropDownList2的值,网上有人说可通过使用隐藏的TextBox控件来获取,我未能实现,因为在客户端隐藏的TextBox控件也是不可用脚本来访问的,没法给其赋值,我只能通过将其样式、字体颜色设于背景相同来达到隐藏效果,这是一个很笨的方法,有谁有好的方法,请帮我。