Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21236

Listview loads by choose combo

$
0
0
Code:

comBoxYLevel.Items.Add("Boy")
        comBoxYLevel.Items.Add("Girl")

Private Sub retBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles retBtn.Click
        Select Case comBoxYLevel.SelectedIndex
            Case 0
                strsql = "select * from boys"
            Case 1
                strsql = "select * from girls"
        End Select
     
 fillListView()
    End Sub

i want to load data with out SQL, like combo = "Boy" call filllistview()
any suggestions from seniors sir's

Viewing all articles
Browse latest Browse all 21236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>