2
Reply

Using the same DATASOURCE

r p

r p

Sep 8 2008 4:24 AM
2.7k
In my asp.net2 site, I am giving the search option for the user (to search products) at the HEADER OF THE SITE (Header in Masterpage)
 with the help of a control called Search.ascx.
The search result is returned to an object datasource called objResult(objectdatasource). Now, I want to display the result
which is returned to objResult in a datagrid which is in Result.aspx (FORM). This form is in the MAIN CONTENT area of the master page.
How can I access objResult which is in Search.ascx(CONTROL) to disply the result in the datagrid which is in Result.aspx? or do you have any other suggestion?

Answers (2)