datagridview question, plz help
-
Hi, Im trying to change the look/style of my datagridview control. Is there a way to change the color, border etc for specific cells. Id like every cell that doesnt contain any data to have the same color as my form without any border and cells containing data to have a white background and sunken into the form so that they appear as normal textboxes?
-
Hi, Im trying to change the look/style of my datagridview control. Is there a way to change the color, border etc for specific cells. Id like every cell that doesnt contain any data to have the same color as my form without any border and cells containing data to have a white background and sunken into the form so that they appear as normal textboxes?
Hi, Maybe the answer for your problem is no. Datagridview doesn't still support for formatting any discrete cells. DefaultGridCellStyle property is designed to format a column or all columns of datagridview.
It seem to be a solution or an answer.
-
Hi, Maybe the answer for your problem is no. Datagridview doesn't still support for formatting any discrete cells. DefaultGridCellStyle property is designed to format a column or all columns of datagridview.
It seem to be a solution or an answer.
-
Hi, Im trying to change the look/style of my datagridview control. Is there a way to change the color, border etc for specific cells. Id like every cell that doesnt contain any data to have the same color as my form without any border and cells containing data to have a white background and sunken into the form so that they appear as normal textboxes?
Certainly you can change the color of each cell in row databound event !!! you can access these information and set the proper color
Regards, Jaiprakash M Bankolli jaiprakash.bankolli@gmail.com http://jaiprakash.blog.com/