Your Ad Here

Wednesday, March 11, 2009

Populating Dropdown list based on the other dropdownlist

Hi Everyone,
I am new to his forum. I am developing an asp page using Javascript. I am not able to solve a problem i.e., I ve 2 dropdown lists. Based on the 1st dropdown list's data, second dropdownlist has to be populated (retrieving data from database). Can anyone help me in sorting this issue. Im posting my code below...









Company Name

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.open "filedsn=C:\proj\Maintenance\mnd"

set rs2 = Server.CreateObject("ADODB.recordset")
sq = "Select * from division"
rs2.Open sq,conn
%>

Company Name


Complaint Register



























From

Nature of Complaint

Division
Asset Number
Complaint Description




Read More...
Your Ad Here

No comments: