Click here to Skip to main content
15,880,651 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir,

I have one dataGridview in windows application.I want display Two controls inside
a cell.Those are Checkbox and linkButton pls help me



Thanks&Regards
Posted
Updated 6-Jul-11 0:09am
v2

1 solution

In normal, its not possible to add 2 controls in a sinlge cell of datagridview. You got to work out little bit trickily.

You can add Checkbox and LinkButton in 2 different cells and span them. This will make those 2 cells as 1 single cell only.
 
Share this answer
 
Comments
kranthi.oru 6-Jul-11 7:47am    
Could you please send a sample code for me.Then I feel very Happy.
All Time Programming 6-Jul-11 8:30am    
Kindly look at :
http://www.dotnetspider.com/resources/4644-Merge-columns-DataGridView-Excel-Spread.aspx
http://www.codeguru.com/forum/showthread.php?t=415930
http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/fea3dcff-5447-450a-8f7c-bb1c4f63371d/

For more, Google it and you will find lots of helpful solutions.
kranthi.oru 6-Jul-11 9:15am    
Thank you very much

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