Can anyone give idea how we can change the row color based on the corresponding field values in Sharepoint 2010 list view?
The simplest way to do it is :
Go to SharePoint Designer 2010
Go to your list, open the list view you want to modify
in ribbon, select Options [Tab] - Conditional Formatting - Format Row option.
It should be fairly straightforward.
The most common way to do that is by using conditional formatting with SharePoint Designer. but it has its disadvantages - it messes up grouped views and more other things. Besides SharePoint designer I can recommend on custom development or 3rd party product like we have here in Infowise – Color Field. You should give it a look -http://www.infowisesolutions.com/product.aspx?id=ColorField
My colleague has written up a post detailing the different ways to do this - How to do list highlighting in SharePoint
- SharePoint Designer
- Javasript & Content Editor Web Parts
- Custom Columns via Visual Studio
- and of course 3rd party products (disclaimer, one of which is from my company)
There are third party add-ons(sharepoint highlight rows) that allows you highlight SharePoint list rows based on field values.