how to execute a query depending on the value selected
Posted: Fri Jan 14, 2011 6:40 am
hi,
how to populate the other fields by executing a query depending on the value selected in the list box.
I have a list box which is getting the values from the database.
For example:
student Id
st01
st02
st03
if the user selected st01 in the list it should populate the the student name and branch in the below two text boxes which should populate from the database table.
Please help me ,it is a part of my project work.
Thanks
Kaif khan
how to populate the other fields by executing a query depending on the value selected in the list box.
I have a list box which is getting the values from the database.
For example:
student Id
st01
st02
st03
if the user selected st01 in the list it should populate the the student name and branch in the below two text boxes which should populate from the database table.
Please help me ,it is a part of my project work.
Thanks
Kaif khan