Information system development in the network, less use of the drop-down box, sometimes multiple pull-down boxes, hope is no refresh, the following is an XML method. First, Page 1 (Display Page) 1, the client display page, the main code of the server.
If (! page.ispostback) {ddlname.attributes.add ("onchange", "", ",", "); // This is an event of the client call} 2, client HTML main code DataSet DS = New Dataset ("Rootnodes"); DP.Close (); // The following mainly generates XML XmlTextWriter Write = new xmlTextWriter (response.OutputStream, response.contentence); Write.Formatting = Formatting.indented; Write.indentation = 4; Write.indentChar = '; ds.writexml (Write); Write.Clush (); Write.close (); response.end ();}} 2, remove the page HTML Format 3 Description XML generation mode can be replaced with WebServices, and the response is slightly slow, and the value cannot be saved, and the hidden piece can be used. Another way is that Mr. is a JS array mode, I didn't try it.