Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
sir

I am currently using DataGridview. My requirement is insert two labels and one image in DataGridview in same cell.

The cell structure look like

Label1

Image

Label2

If u know exact coding please send to me.

Thanks Regards.
Posted
Comments
Suresh Suthar 18-Aug-11 7:21am    
Please don't ask same question again and again. Use Improve Question widget to modify your question.
You have already asked this here
http://www.codeproject.com/Questions/242463/how-to-insert-two-labels-inside-a-cell-in-DataGrid

1 solution

Yes, you got an answer in your other post. Don't repost the same question over and over.

Nobody is going to send you code for this.

The only way to do wha tyou want is to create your own custom DataGridViewColumn class. You'll also have to create the editing class to go along with it. This is NOT a simple task.

You can find a bunch of examples and information on this process here[^]
 
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