D
DanWeaver
I am assigning a profile variable based on the conents of a text box
when a button is pressed- this is then used as a search term to
populate a list box- all controls are in same ajax update panel- how
can I update the profile variable before the listbox gets populated -
ie assign the variable prior to the sql call (as the sql query should
use the variable). I am trying to do this using the VS bind
configuration wizard with a few modifications. I dont really want to
have to manually bind in code other than the simple kind below.
1) user term eg "car" provided in text box
2) button pressed
3) set profilevariable = textbox.text
4) make sql call (select model where type like profilevariable)
4) listboxcar populate.
any help appreciated. d
when a button is pressed- this is then used as a search term to
populate a list box- all controls are in same ajax update panel- how
can I update the profile variable before the listbox gets populated -
ie assign the variable prior to the sql call (as the sql query should
use the variable). I am trying to do this using the VS bind
configuration wizard with a few modifications. I dont really want to
have to manually bind in code other than the simple kind below.
1) user term eg "car" provided in text box
2) button pressed
3) set profilevariable = textbox.text
4) make sql call (select model where type like profilevariable)
4) listboxcar populate.
any help appreciated. d