Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
Private Sub STapply_Click(sender As Object, e As EventArgs) Handles STapply.Click Dim Site = STsiteComboBox.Text Dim Team1 = STteam1ComboBox.Text Dim Team2 = STteam2ComboBox.Text Dim NDS = STndsteamComboBox.Text HL_site_View.Text = Site Dim Conn As New OleDbConnection Dim Comm As New OleDbCommand Dim DReader_T1L As OleDbDataReader Dim Str As String = "" Conn.ConnectionString = CreateConnString("c:\tempTestDB.xls") Conn.Open() Comm.Connection = Conn Comm.CommandText = "SELECT * FROM [TeamsTL$] where Teams= """ & Team1 & """" DReader_T1L = Comm.ExecuteReader(CommandBehavior.CloseConnection) Try While (DReader_T1L.Read) MessageBox.Show(DReader_T1L.Item(1)) MessageBox.Show(DReader_T1L.Item(2)) MessageBox.Show(DReader_T1L.Item(3)) MessageBox.Show(DReader_T1L.Item(4)) End While Finally DReader_T1L.Close() End Try End Sub
|visual Basic Net vs c# net||8||54|
|Problem to go to Web page||2||50|
|display data in text field from data base for updating||6||26|
|Help with highlighting rows based on identical values in multiple columns||1||25|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
15 Experts available now in Live!