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 custom DataGridColumnStyle implementation.
Microsoft MVP, Visual C# My Articles