Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello everyone

I have a program that is a CD collection - the user can browse through "my CD collection" - with a next and previous button. The user can even sort through them via a (menu)filter by Type (pop/rock) etc. I would like to put an option for adding a cd or removing one. I am clueless of how to do this. Can anyone Help?

 

Here: is the code for one of the filters so you a have an idea of what I am doing

Private Sub mnuByArtist_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuByArtist.Click
       Dim strArtist As String, strSQL As String
       strArtist = InputBox("Please enter a artist to search")
       strSQL = "select CdArtist,CdTitle, CdYear,CdKey,CdCategory from Cds where CdArtist like '%" & strArtist & "%'"
       OleDbSelectCommand1.CommandText = strSQL
       DbCdCollection1.Clear()
       OleDbDataAdapter1.Fill(DbCdCollection1)
       UpdateCounter()
   End Sub

 

Thanks

Rob

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...