Solved

MS DataGrid Control v6 Vertical Line Removal

Posted on 2000-04-13
5
282 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month6 days, 11 hours left to enroll

623 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