Hi there.
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.
What I am wondering is whether or not I can use this same returned dataset that is used in the listbox datasource, as the data for a textbox, which will be populated once an item is selected from the listbox?
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 :)
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.
Code:
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 :)
Comment