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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

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!
0
majala
Asked:
majala
1 Solution
 
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
 
majalaAuthor Commented:
If you didn't understand I ment that I wanna show all the other rows but not the first one:)
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
riduceCommented:
DBGrid1.Columns(0).Visible = False
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now