Using a function to return a data set and then bind it to a gridview
Posted on 2009-05-19
I have a function that resides in a class, in my aspx.vb file I want to call the function on a button click event. The function invokes a web service and will return y or x depending on the input. My question is how can I bind y or x to a gridview.
so In my asp.vb file I have:
LimitByCompanyCode.GetLSODataset(txtBeginDate.Text, txtEndDate.Text, radioSelection.SelectedValue)
'So how can I get whatever the function returns and show that in my gridview?