470,590 Members | 2,521 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,590 developers. It's quick & easy.

listview rows hiding vb.net

Is there a way to hide a row in a listview w/o removing it ?

Or if I have to use a hidden listview to store another view, a way to
duplicate the contents extremely fast. there could be thousands of
rows in the list.

Jan 26 '06 #1
1 3118
rb
ma*****@yahoo.com wrote:
>Is there a way to hide a row in a listview w/o removing it ?

Or if I have to use a hidden listview to store another view, a way to
duplicate the contents extremely fast. there could be thousands of
rows in the list.
have you tried a query?

Dim connDB As New ADODB.Connection
Dim sqlcmd As New ADODB.Command
Dim rs As New ADODB.Recordset

your connection string to database

sqlcmd.ActiveConnection = connDB

sqlcmd.CommandText = "sql statement" or use a text string to
create adhoc query
sqlcmd.CommandType = ADODB.CommandTypeEnum.adCmdText

rs = sqlcmd.Execute

Populate listview.
Jul 29 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Steph. | last post: by
1 post views Thread by rallard | last post: by
4 posts views Thread by John Dann | last post: by
reply views Thread by John Dann | last post: by
7 posts views Thread by txplayboy2002 | last post: by
3 posts views Thread by RT | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.