Wrox Programmer Forums
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 20th, 2008, 04:51 AM
Registered User
 
Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Data Grid how

hi,

I want to show my data on vb.net grid view

my version is 2.0.. (Vb.Net 2005)

But I want to show different cells with different colours.
like
http://vbdotnets.googlegroups.com/we...AOMnutzruXNCze:D

pls tell me how to write coding for this ,

Thankx
Nuwan



 
Old April 21st, 2008, 04:27 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

DataGridView Control: http://msdn2.microsoft.com/en-us/library/e0ywh3cz.aspx

Basic Formatting: http://msdn2.microsoft.com/en-us/library/ms171598.aspx

Programming with Cells: http://msdn2.microsoft.com/en-us/library/ms171616.aspx

/- Sam Judson : Wrox Technical Editor -/
 
Old May 12th, 2008, 09:23 AM
Registered User
 
Join Date: Feb 2008
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

you may as well like to see the following discussion on how setting cell styles impact performance ans scalability
http://msdn.microsoft.com/en-us/library/ha5xt0d9.aspx
Also you have to set styles in the appropriate page events.Once the data grid has been parsed as html table , it is late to apply any formatting .You may sometimes encounter styles not getting correctly set due to style inheritances and overrides from parent controls.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sort data in a data grid? zaheerabbas.sk ASP.NET 1.0 and 1.1 Basics 3 April 10th, 2007 02:37 PM
Export data from data grid to excel pomoc VB.NET 2002/2003 Basics 0 December 16th, 2005 03:11 PM
Export data from data grid to Excel pomoc Visual Basic 2005 Basics 0 December 16th, 2005 02:56 PM
trying to load db data into data grid itsajourney Beginning VB 6 2 June 7th, 2005 12:05 PM
About data grid Asteroid ASP.NET 1.0 and 1.1 Basics 4 December 9th, 2004 05:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.