Click here to Skip to main content
15,885,953 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi I am having problem to bind a drop down, which will show values from Employeedesc column in Person table but i want it to be selected on the basis of employeeid which is in the Employee table.
To be precise my first datalevel operation would be:
SQL
select employeeid from employee where employeeeid can be in(1,2,3)

now ,if it is 1 then the employee desc from Person table should be dispalyed in the Dropdown.It will be non-editable.
the real scenario is :
i have two pages:
Employee and Person.
in employee page the user enters the employeeid.
now if he goes in Person page he can see the EmployeeDesc.
can someone please help....
Posted
Updated 5-Jul-13 10:40am
v4
Comments
jaideepsinh 4-Jul-13 8:45am    
It means you have two drop down one id selecting employeeid then on the basis of that empId you want to saw employee description in other drop down.
Torakami 5-Jul-13 7:12am    
On selected Index change of first drop down simply call other method which will fill your second dropdownlist

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900