daveofgv
Well-known member
Hi everyone!
I have a small visual studio project that i have a database in. Instead of using the binding navigator - I want buttons to add a record / delete a record / update the database. I am good on everything except I am using details (which is all the text boxes) instead of a datagridview that I drag over from the DataSource window. I know if I was using a datagridview the code will be:
If I am using "details" and I have all the text boxes would I just replace the "Datagridview1" with something else?
Thanks for your patients and thank you in advanced.
daveofgv
I have a small visual studio project that i have a database in. Instead of using the binding navigator - I want buttons to add a record / delete a record / update the database. I am good on everything except I am using details (which is all the text boxes) instead of a datagridview that I drag over from the DataSource window. I know if I was using a datagridview the code will be:
VB.NET:
TestBindingSource.AddNew()
Me.Datagridview1.DataSource = Me.TestBindingSource
If I am using "details" and I have all the text boxes would I just replace the "Datagridview1" with something else?
Thanks for your patients and thank you in advanced.
daveofgv