Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MS DataGrid Control v6 Vertical Line Removal

Posted on 2000-04-13
5
Medium Priority
?
298 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
  • 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 90 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

885 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