Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.
Private Sub GetListOfUserNames() Try Dim myConnection As MySqlConnection myConnection = New MySqlConnection(strConnection) myConnection.Open() Dim daUser As New MySqlDataAdapter("Select strUsername from Users order by strUsername asc", myConnection) Dim dsUser As New DataSet daUser.Fill(dsUser) myConnection.Dispose() For i As Integer = 0 To dsUser.Tables(0).Rows.Count - 1 strNames.Add(dsUser.Tables(0).Rows(i)("strUsername").ToString) Next Catch ex As Exception MsgBox("Error getting Username Information.") End Try End Sub
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
21 Experts available now in Live!