Neeed Advice on Displaying a datagrid
I need assistance on displaying a datagrid. My scenario, i have a form (ie. form1)that does the search on my access database however i need to display the result as a datagrid on form2. How do i do pass the value or datagrid so that it show up on a new form?
Re: Neeed Advice on Displaying a datagrid
You can perform a search on a dataview based on the datagrid, and pass that dataview to a subroutine on Form2, which uses it to bind to the datagrid.
Which part aren't you sure about?
Re: Neeed Advice on Displaying a datagrid
Hi Thanks for your reply but i am sorry for not making it clear in the first place.
Let's say i does a search on this frmSearch and the search keyword is used to search for all the entries in my access database.
Currently i am displaying the result as a datagrid on the frmSearch but it is not what i want. I don't want the result to be displayed on the frmSearch but instead to be displayed on the frmResults in a datagrid. How should i pass the result from frmSearch so that the resultant datagrid is being displayed on the frmResults instead of frmSeach??
Thanks