Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2004

Tip: Looking for answers? Try searching our database.

GridLineStyle

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nicolas L. - 20 Dec 2004 06:54 GMT
Datagrids only have two line styles: None and Solid...

is there a way to display a table in a datagrid with horizontal or vertical
lines only ???

what about defining a custom DataGridTextBoxColumn class and
overloading/overriding its Paint Method ??
I think it can be done in this way but I don't figure out how....

Thanks in advance !!!

Nicolas L.
Cor Ligthert - 20 Dec 2004 07:56 GMT
Nicolas,

There is such a lot possible with datagrids, while there are as well more
extended dagagrid controls.

Have a look at these links.

Complete very nice controls
<http://www.knowdotnet.com/articles/kdngrid.html>

<http://dotnet.leadit.be/extendeddatagrid>

Faqs
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

http://www.microsoft.com/belux/nl/msdn/community/columns/jtielens/datagrid.mspx

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html
/wnf_CustDataGrid.asp


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformsdatagridtextboxcolumnclassformattopic.asp


Format
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbtchformattingwindowsformsdatagridvisualbasicprimer.asp


DateTimePicker (sample how to do it yourself as you ask)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformsdatagridcolumnstyleclasstopic.asp


I hope this helps a little bit?

Cor

"Nicolas L." <jnlinale@yahoo.com>

> Datagrids only have two line styles: None and Solid...
>
[quoted text clipped - 8 lines]
>
> Nicolas L.
Brian Schwartz - 21 Dec 2004 22:42 GMT
> Datagrids only have two line styles: None and Solid...

You might also check out the free grid at my website (below) which offers
several options for line styles between rows and columns.

Brian

Signature

Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Building better tools for developers - Be part of it!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.