Hey everyone, i have used this site many times to help with random VB issues, but never posted, so this is my first post 
Anyway, i have some issues with using a datagridview to list contents from a database table.
I can get it to list the table OK, and everything there works fine, but i can't wok out how if it is even possable to diclare the data inside the selected row, output it onto a diffrent form then allow the user to edit the information and overwrite the row in the database.
Also using a binding source to queery the data from the table.
Currently i have:
But i will be honest, that is a complete guess, i really don't have a clue with it..
I would appreciate and advice
Thanks, Will.
Anyway, i have some issues with using a datagridview to list contents from a database table.
I can get it to list the table OK, and everything there works fine, but i can't wok out how if it is even possable to diclare the data inside the selected row, output it onto a diffrent form then allow the user to edit the information and overwrite the row in the database.
Also using a binding source to queery the data from the table.
Currently i have:
VB.NET:
Dim FName As String
Dim LName As String
Dim ID As String
Dim Search As BindingSource
FName = txtFName.Text
LName = txtLName.Text
ID = txtID.Text
Search = New BindingSource
Search.DataSource = GeneralDataSet.Customers
dgvSearch.DataSource = Search
Search.Filter = "LastName" = LName
But i will be honest, that is a complete guess, i really don't have a clue with it..
I would appreciate and advice
Thanks, Will.