I've made an add button and I want it to add another row to the DGV and fill it with data from a database query.
Add button code:
Code for filling the DGV with a query:
Is there any way to do this?
Any help would be greatly appreciated!
Thanks,
otester
Add button code:
VB.NET:
Me.DataSet.App.Rows.Add() 'this does add a new empty row
Code for filling the DGV with a query:
VB.NET:
Try
Me.English_AppTableAdapter.FillBy1(Me.PunchDataSet.English_App)
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
Is there any way to do this?
Any help would be greatly appreciated!
Thanks,
otester