dbgrids columns...

I have a database, data controller and dbgrid in my form.

I don't wanna show all the rows from my database in my dbgrid. How can I do this in runtime?

Could you give me an example!

Thanks in advance!
majalaAsked:
Who is Participating?
 
riduceConnect With a Mentor Commented:
DBGrid1.Columns(0).Visible = False
0
 
AzraSoundCommented:
what rows do you want to show?  
0
 
majalaAuthor Commented:
I wanna show all the other rows than the first one. It is a counter.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
majalaAuthor Commented:
If you didn't understand I ment that I wanna show all the other rows but not the first one:)
0
 
wsh2Commented:
Uh Riduce.. he wants to hide ROWS.. <smile> and a <wink>.

If you have VB6 use the Datagrid, and set the Row 1 RowHeight = 0 -or- Once again in VB6, build your own Recordset and load it into the DataGrid.

0
 
majalaAuthor Commented:
Thanks for answer!

So I mixed up columns and rows but thanks anyway wsh2. Now I know how to hide rows too...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.