By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,985 Members | 1,712 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,985 IT Pros & Developers. It's quick & easy.

GridLineStyle

P: n/a
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.
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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/ms.../datagrid.mspx

http://msdn.microsoft.com/library/de...stDataGrid.asp

http://msdn.microsoft.com/library/de...ormattopic.asp

Format
http://msdn.microsoft.com/library/de...asicprimer.asp
DateTimePicker (sample how to do it yourself as you ask)
http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps a little bit?

Cor

"Nicolas L." <jn******@yahoo.com>
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.

Nov 21 '05 #2

P: n/a
> 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

--
Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Building better tools for developers - Be part of it!
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.