To give color to a row of datagrid
-
Hi , I want to paint or we can say give the color to the particular row of the datagrid....when....the template column is clicked....so i want to give the backcolor to the entire row at that time.... In datagird I have a one column which is a template column... Can anybody help me.... Thanks
-
Hi , I want to paint or we can say give the color to the particular row of the datagrid....when....the template column is clicked....so i want to give the backcolor to the entire row at that time.... In datagird I have a one column which is a template column... Can anybody help me.... Thanks
The fact that you're mentioning a template column tells me that you're using an ASP.NET
DataGrid
. If so, this belongs in the ASP.NET forum. In Windows Forms, you cannot paint an entire row; you can only paint columns by using a customDataGridColumnStyle
implementation.Microsoft MVP, Visual C# My Articles