Solved

MS DataGrid Control v6 Vertical Line Removal

Posted on 2000-04-13
5
272 Views
Last Modified: 2013-12-25
Does anyone know how to remove the vertical lines between each record in a DataGrid ???

I can remove the Horizontal lines by using datagrid.RowDividerStyle = dbgNoDividers but I cannot seem to remove the vertical lines..

Please help...
0
Comment
Question by:Mad_One
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 2711671
Why not you use a listview instead of grid?
0
 

Author Comment

by:Mad_One
ID: 2711724
Good question....

I was trying to show more than one column at a time i.e. three columns in a table, and then got side tracked into using a datagrid...

I have added them all together now as a view on the SQL server, so that has sorted that little problem.

However I would like to add pictures/icons to the front of each record in the list, simular to NT Security Manager - Any suggestions..
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 30 total points
ID: 2711793
Don't confuse LISTBOX and LISTVIEW.

See this link: http://www.mvps.org/btmtz/listview/
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2713531
Mad One:
If you want greater funtionality (such as pictures.. different fonts & backcolors.. grids / nogrids) try using the FlexGrid control instead.. of a Datagrid.. <smile>.

0
 

Author Comment

by:Mad_One
ID: 2715209
Thanks for pointing me in the right direction...

I now have a functional project using a listview component.. Icons as well..

Cheers.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding to a VBA? 6 85
Run code from text file in vb 1 87
VBA - If Bookmark = "XXBOOKMARKXX" then 15 51
Inserting a datasheet query into the body of an email using VBA? 4 52
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question