How to Display both image and text in a DataGridview Cell using c#.net
-
Hi all, I have a requirement of displaying both image and text in a single cell of DataGridview(Windiws Application). Is this possible ,if yes please suggest me how to approach.... Thanks in advance cheers, sekhar
-
Hi all, I have a requirement of displaying both image and text in a single cell of DataGridview(Windiws Application). Is this possible ,if yes please suggest me how to approach.... Thanks in advance cheers, sekhar
1. Provide padding in the TextboxColumn and then draw the image in the space created in the column using OnPaint. 2. Create your own datagridview column using the existing datagridviewtextboxcolumn class.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
modified on Thursday, January 8, 2009 9:56 AM
-
1. Provide padding in the TextboxColumn and then draw the image in the space created in the column using OnPaint. 2. Create your own datagridview column using the existing datagridviewtextboxcolumn class.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
modified on Thursday, January 8, 2009 9:56 AM
Thanks for your suggestion