Hi, how i can change the back color of a single cell of a datagridview in runtime?
Report your software freeware, it's free http://intotheapp.blogspot.com a blog with only free software
vb.net Code: With DataGridView1 .Rows(index).Cells(index).Style.BackColor = Color.Green 'Color of choice. Index is the index of the row/column you want to reference (zero-based) End With
With DataGridView1 .Rows(index).Cells(index).Style.BackColor = Color.Green 'Color of choice. Index is the index of the row/column you want to reference (zero-based) End With
If my post helped, rate it! Shameless blog plug: www.stateofidleness.com My Projects: Phoenix Fetch (For University of Phoenix Online students) Lookout (Keylogger/PC Nanny) PathManipulate Class (Filepath formatting) Scraper - Class for HTML/WebBrowser Document scraping Tutorials: Keystroke Capturing Tutorial Detecting completely loaded page using VB.Net WebBrowser including all frames Sending Email in VB.Net Autofill HP Service Manager (HPSM) in VB.Net Ping Network Device My latest project(s): QuickScrape | Source Matters updated 05.15.2011
Forum Rules