gridview row backcolor

  • Thread starter Thread starter Eran.Yasso
  • Start date Start date
E

Eran.Yasso

Hi All,

Can anyone help me in changing backcolor of row in run-time?
I was looking in he site but couldn't find good example on how to do
it.


TIA.
 
Hi,

In the future you should post questions about ASP.NET to
microsoft.public.dotnet.framework.aspnet.
Can anyone help me in changing backcolor of row in run-time?
I was looking in he site but couldn't find good example on how to do
it.

Try the following code:

yourGridView.Rows[rowIndex].BackColor = Color.Green;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top