listview rows hiding vb.net

  • Thread starter Thread starter marfi95
  • Start date Start date
M

marfi95

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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top