hi..i put a datagrid into my main form, and i put 2 buttons for show and hide it. How cn i implement it?
I know if for the form is using the command below:

Form5.show

However DataGrid cant use tht...hw can i implement it? thanks

did you means when you press show then datagrid appear and when you press hide then datagrid disappear??
if i m not wrong try to using datagrid.visible = false to hide and datagrid.visible = true to show.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.