473,394 Members | 1,746 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,394 software developers and data experts.

Grid Lines

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
Nov 21 '05 #1
2 1432
Hi,

Take a look at the datagrids gridlinecolor and gridlinestyle
properties. Please note that if you add a tablestyle to your datagrid set
the tablestyles gridlinecolor and gridlinestyle instead of the datagrids for
it to have effect.

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

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

Ken
--------------------------------------
"krishna murthy" <ve*************@gmail.com> wrote in message
news:19****************************@phx.gbl...
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
Nov 21 '05 #2
Hi,

Take a look at the datagrids gridlinecolor and gridlinestyle
properties. Please note that if you add a tablestyle to your datagrid set
the tablestyles gridlinecolor and gridlinestyle instead of the datagrids for
it to have effect.

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

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

Ken
--------------------------------------
"krishna murthy" <ve*************@gmail.com> wrote in message
news:19****************************@phx.gbl...
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
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James lennon | last post by:
I am attempting to format a Window.Forms.DataGrid. How do I set the color for the grid lines in the data grid header. The GridLineColor attribute in the table style does not set the color of the...
4
by: Mike L | last post by:
I'm open for any suggestions on how to better program this. I want the user to select a license from a combo box, cboPrivilege and then the user will click the add button, then a record will be...
0
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
5
by: Enigma Curry | last post by:
I'm playing around with matplotlib for the first time. I'm trying to make a very simple histogram of values 1-6 and how many times they occur in a sequence. However, after about an hour of...
0
by: romancoelho | last post by:
Hey everyone, I know this has to be simple, but can't figure out how to do it. How can I display the grid lines in all rows in the gird. The default behavior of the DataGridView seems to be that it...
0
by: Smokey Grindle | last post by:
I right now have horizontal grid lines turned on, on my grid view... but strangely I also have a 1px boarder around the whole object which I dont want... If I set the boarder width to 0 then all...
10
by: kaczmar2 | last post by:
Hey there, I have a large image in a browser window, and I would like a way to overlay grid lines on top of the image, so a user can show the grid or hide the grid lines. The grid would cover...
3
by: kaczmar2 | last post by:
Hey there, I have a large image in a browser window, and I would like a way to overlay grid lines on top of the image, so a user can show the grid or hide the grid lines. The grid would cover...
4
by: bobh | last post by:
Hi All, In report design view is there a way to Not display the grid lines But display the grid dots? thanks bobh
1
by: thanawala27 | last post by:
Hi, I wanted to change the style, width and color of the grid lines for my X/Y scatter graph. Basically, I want to distinguish the minor grid lines and the major grid lines. Any help is...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.