.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

how to get alternate rows color in datagridview in c#.net code windows app

Posted By: mahitha     Posted Date: April 21, 2010    Points:2   Category :Windows Application
how to get alternate rows color in datagridview in c#.net code windows application

Thanks & Regard,

please help me for this query

Responses
Author: Kirtan          Accepted Answer   
Posted Date: April 21, 2010     Points: 10   

Set DataGridView 's AlternateRowsDefaultCellStyle Property

in that there is option for background just set the background color of row you want to set as background ..

Author: jay          Accepted Answer   
Posted Date: April 21, 2010     Points: 10   

hi use <asp:repeater>

<itemtemplete>
</itemtemplate>

<alternatingitemtemplate>
</alternatingitemtemplate>



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend