views:

22

answers:

0

Hi, In my gridview i have 3 6 columns.

by default i am setting

dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;

this.dgv_folderContents.RowsDefaultCellStyle = dataGridViewCellStyle3;

So all cell values are displayed with left align.

But there are two column checkbox and image

I want to show this values in Center of cell.

How to do that?