473,408 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

GridLineStyle

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
2 947
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
> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Shapper | last post by:
Hello, I have a datagrid in my aspx page. I am trying to set some properties from my aspx.vb code. I am having problems in the following 3 lines: 'dgProducts.GridLineStyle = "Solid" ...
2
by: Tracey | last post by:
Hi, there My application needs a datagrid with no gridline displayed.If the datagrid is dragged into a winform, we can easily set the gridlinecolor to be the same as datagrid's background color...
7
by: scorpion53061 | last post by:
This exception occured while running in the development environment. The debugger didnt catch it though it appeared as a message box prompt........does anyone have insight on this? ...
1
by: jimb | last post by:
I can get the dropdownlist into the datagrid, and I can populate it, but I can't read it. Anybody have a working example of a dropdownlist in an editable grid? Thanks. -- .....
7
by: Dave | last post by:
Are there any add-on products or samples available that can do the following in an vb.net datagrid I want to compare 2 rows in a datagrid - one row from one database and another row for another...
2
by: krishna murthy | last post by:
Hi, I have one doubt How to add grid lines to grid at the design as well as at the run time.And color to the Grid Lines. Regards, Krishna
2
by: AMDRIT | last post by:
Hello everyone, I have created a custom component and one of its properties is a class object with it's own properties. During runtime, I can assign values to the class object properties just...
1
by: --== Alain ==-- | last post by:
Hi, I've created a simple class "GridLines" having 3 properties (Prop1, Prop2, and Prop3). in my custom control, i've created a property based on this class "GridLines". To show the...
1
by: --== Alain ==-- | last post by:
Hi, I finally found how to update the render of my custom control when one of its property value changed. However, i would like to know if there is not another way, because i'm afraid about...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.