Two gridviews on the same page, show/hide when button is clicked

I have searched for a solution for a long time. Can anyone show me an example.

I have on page 2 gridview’s first gridview is with id:gridview1,second gridview is with id:gridview2 and two buttons(button1 and button2 on the same page ), so when i clicked on button1 i want to show gridview (gridview2 it will

be hidden) and vice versa when i clicked on button2 gridview2 it comes up to show (gridview1 it will be hidden).

Thanks