You are on the right track. However, I'm not sure what your data source is. I'll assume it is a database, and I'll use an SQLDataAdapter to get the data from a database and use it to fill a datatable. When the datatable is filled, specify the desired row index and the item index. In the example below, the row is set to 0, which is the first row in the database table. The item is also set to 0, which is the first column in the database table. If the item you are looking for is in the 4th column, set the item value to 3 (for example).
Dim SQLQuery as string = "Select * from dbTable"
Dim ConnectionString as string = "Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;"
Dim DT as DataTable = new system.data.datatable
DT= SQLToDT(ConnectionString, SQLQuery)
CompanyName = DT.rows(0).item(0).tostring
Public Function SQLToDT(ConnectionString As String, SQLQuery As String) As DataTable
Dim myDTable as system.data.datatable
Dim conn As New SqlConnection(ConnectionString )
Dim adapter As New SqlDataAdapter()
adapter.SelectCommand = new SqlCommand(SQLQuery , conn)
adapter.Fill(myDTable)
Return myDTable
End Function