I have a combo box that I am attempting to populate in the page_load event and want the item in the combo box that corresponds to an incoming request string member value to be selected when done. I have done this before and am not a "greenie", but I cannot get any item selected in the combo box.
The definition of the combo box is in the code block immediately below:
The server-side code behind code is immediately below this line:
SqlDataReader = cmd.ExecuteReader()
RCBI.Text = reader(sFieldToPopulate)
RCBI.Value = reader(
oValueToMatch = RCBI.Value
"Error reading to populate country combo box from Select Statement="
& ComboSelectStmt &
Can you please tell me what I am doing wrong? The combo box is being populated correctly...but no item is selected when the page_load event completes and the page is visible. Why?
Thanks in advance!