I am using VB.Net VS-2008.
I am trying to connect to a database via ODBC.
I think I finally have figured out the connection string issues etc... but when I run the ASPX page that has a gridview on it I do not get any results.
Here is what I am trying.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim myConnection As OdbcConnection = New OdbcConnection()
Dim Cmd As New OdbcCommand("SELECT Administrator.ITEMS.FULL_NAME, Administrator.ITEMS.SALESDESCRIPTION FROM Administrator.ITEMS WHERE Administrator.ITEMS.PART_BELONGS_TO_ID = 2519")
myConnection.ConnectionString = "Dsn=NetSuite.com;email@example.com;pwd=password"
Cmd.Connection = myConnection