By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,728 Members | 2,462 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,728 IT Pros & Developers. It's quick & easy.

How to add a gridview control to a form which opens on button click..

P: 9
hi....i have a form on which i have a button, on button click another form opens. now i want to add a grid view control to the second form which opens on button click.

the code is like this:

private void button2_Click(object sender, EventArgs e)
Form form2= new Form();

now i want to add a grid view control to this new form i.e. form2..
thanks a lot in advance...
Sep 23 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.