I have a sqlDataSource that runs a stored procedure that returns a table of the days of the month that was passed in as a parameter, arranged as they would in a calendar. It also returns a second table which contains the event details associated with certain days of the month.
Basically, how would I go about accessing the values contained in the 2nd table that is returned by my query?
I have tried putting the result of the .select in a dataset, unfortunately I get a cast error. If I try to put it in a dataview, I only get the first table.
Any help would be appreciated!
This is what I have right now:
Dim ds As New Data.DataSet
Dim eventTable As New Data.DataTable
ds = sqlCalendrier.Select(DataSourceSelectArguments.Empty)
eventTable = ds.Tables(1)