Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
'Grid is a control on the form of type C1.Win.C1FlexGrid Private oConnOdbc As OdbcConnection = New OdbcConnection("Provider=MSDASQL;DSN=IA CRM") Private Sub Form1_Load... Dim oAdapter As New OdbcDataAdapter() oAdapter.SelectCommand = New OdbcCommand("Select * From Testing", oConnOdbc) Dim oDataTable As New DataTable oAdapter.Fill(oDataTable) Grid.DataSource = oDataTable End Sub Private Sub Form1_FormClosing... ' from what I have read, this shouldn't be necessary Dim oDataTable As DataTable = CType(Grid.DataSource, DataTable) oDataTable.AcceptChanges() End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.