Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
How I can call/display a small form just benith the current cell in a DataGridView ?
Thanks in advance.
Posted
Comments
Prerak Patel 6-Dec-11 23:08pm    
Form in the cell?! Why?!

Why in the world would you add a Form inside a GridView? You can use a Panel instead and put whatever you want inside it.

See this previous article from CodeProject:
Expandable panel inside a GridView[^]

Regards,
Eduard
 
Share this answer
 
Thank you for your prompt response.

I use Form, because depending on user's entry on the Cell of DGV, suitable Form(s) will be appeared for further more entries.
 
Share this answer
 
Sorry for misunderstanding about my question. The displayed Form of course will not appear within the DataGridView; it should be a modal-Form whose intial location wil be near about just benith the current cell of DGV.
Thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900