hi mohd imran abdul aziz, You can directly add Back color to selected row of GridView as follows. <asp:GridView SelectedRowStyle-BackColor ="Aqua" ID="Grid" runat="server" ></asp:GridView>
For 2nd problem you need to write code in the RowCreated Event of Gridview as follows.. protected void Grid_RowCreated(object sender, GridViewRowEventArgs e) { e.Row.BackColor = "Blue"; }
Hope this will help you. Thanks & Regards Dilipv
Dilip Kumar Vishwakarma Programmer .Net Consulting