2
Answers

Using the same DATASOURCE

r p

r p

16y
2.7k
1
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)