I'm using mysqldirect 2.80 with visual studio.net 2003 edition.
i'm using this code to view the result of a query in a datagrid component, as one person told in other thread of this forum, exactly in http://www.crlab.com/forums/viewtopic.p ... t=datagrid.
Code: Select all
Private Sub btngenerar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btngenerar.Click
Dim myDataTable As CoreLab.MySql.MySqlDataTable = New CoreLab.MySql.MySqlDataTable("SELECT * FROM operadoras", "User Id=***;password=***;Host=***;Database=***")
Try
DataGrid1.DataSource = myDataTable
myDataTable.Active = True
Finally
myDataTable.Active = False
End Try
End Sub
Anybody can help me?
Thanks to everybody and sorry for my english