Page 1 of 1

how to execute a query depending on the value selected

Posted: Fri Jan 14, 2011 6:40 am
by kaif
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

Re: how to execute a query depending on the value selected

Posted: Fri Jan 14, 2011 6:45 am
by Benjamin
:arrow: Duplicate = Locked