|
-
Mar 21st, 2006, 05:17 AM
#1
Thread Starter
Hyperactive Member
invisible datagridview line
hihi...
i am trying to use datagridview as to tidy up my layout of the data as well as to make my application a more dynamic one. however, is it possible to set the datagrid line to invisible, so that the data is displyed without any alignment.
example,
when using table property in MS words, the data is tabulated nicely in a table form, but when the doc is printed out, the table line is not shown.
??
ocw
-
Mar 21st, 2006, 05:28 AM
#2
Re: invisible datagridview line
Set GridLineStyle property of the DataGrid to None.
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Mar 21st, 2006, 05:38 AM
#3
Re: invisible datagridview line
The DataGridView doesn't have a property that dictates whether the grid lines are visible or not like the DataGrid. It would seem that you need to set the GridColor property to match the colour of the Cells, which will be Window by default.
-
Mar 21st, 2006, 05:54 AM
#4
Re: invisible datagridview line
Seems like this belongs to .NET 2.0.
Use [code] source code here[/code] tags when you post source code.
My Articles
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|