J
|
Jane 12/12/2008 |
Hi, categories_list = "<select onchange=""window.location.href=this.options[this.selectedIndex].value;"">" categories_list = categories_list & "<option value="""">Please select</option>" str = "select category from " & strTableName Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection while not rstmp.eof categories_list = categories_list & <option value=""tablename_list.asp?a=search&value=1&SearchFor=" & rstmp("category") & "&SearchOption=Contains&SearchField=category"">" & rstmp("category") & "</option> rstmp.MoveNext wend rstmp.close set rstmp=nothing Response.write categories_list |
F
|
Flipper author 12/12/2008 |
Hi Jane |
J
|
Jane 12/12/2008 |
Replace all highlighed name with your actual: categories_list = "<select onchange=""window.location.href=this.options[this.selectedIndex].value;"">" categories_list = categories_list & "<option value="""">Please select</option>" str = "select category from " & strTableName Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection while not rstmp.eof categories_list = categories_list & <option value=""tablename_list.asp?a=search&value=1&SearchFor=" & rstmp("category") & "&SearchOption=Contains&SearchField=category"">" & rstmp("category") & "</option> rstmp.MoveNext wend rstmp.close set rstmp=nothing Response.write categories_list
|
S
|
stealthwifi 1/19/2009 |
Replace all highlighed name with your actual: If it doesn't help publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.
|