If txtGroup.Text <> "" Then lstAllSem.Items.Clear() lstSelSem.Items.Clear() txtGroup.Text = Replace(txtGroup.Text, "'", "''") lstallAdp = New SqlDataAdapter("select * from meet_master where muf_8 = '" & txtGroup.Text & "'", sqlCnn) Try lstallAdp.Fill(da) Catch ex As Exception End Try If da.Tables(0).Rows.Count = 0 Then ' MsgBox("No program group available. Selection of other Seminars not possible.. Continue?", vbYesNo) Else Dim dta As DataTable Dim dro As DataRow dta = da.Tables(0) For Each dr0 In dta.Rows lstAllSem.Items.Add = da.Tables(0).Rows(0)("meeting").ToString() Next dr0 dta.Dispose() End If End If
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE