I am trying to switch from VB6 to VB.net (Visual Studio 2010 Pro). I need to query and display results from SyBase SQL Anywhere 10.
In VB6 I used to use ADODC and DataGrid, this would work fine. Simple example:
In ADODC1's Properties I would specify the SyBase ODBC and login credentials
For DataGrid1's DataSource I would set ADODC1
ADODC1.RecordSource = "select * from table where x = 1 and y = 2"
I cant seem to figure out how to do this simple task in VB.NET.....Help?