I am looking to use a dataset return from a webservice that is currently populating a listbox, to also populate a value in a textbox that is loaded once an item is selected from the listbox.
My code for the above part that populates the listbox is as follows and this works fine.
Expand|Select|Wrap|Line Numbers
- listBox.DataSource = myWebService.MethodName(param1, param2);
- listBox.DataValueField = "RETURN_DETAILS_ONE";
- listBox.DataBind();
As I am not setting a name to the dataset/datasource I am then wondering if I can then reuse this same data?
Thank you.
M :)