Trying My First DataGridView Project
-
The stumper of the week for me is determining how to link together the DataGridView, BindingSource, TableAdapter, and DataSet in order to make the data entered by the operator flow into the actual SQL Server database. I've spent a week searching for an example without hitting pay dirt. Can someone point me to a decent tutorial on the subject?
Will Rogers never met me.
-
The stumper of the week for me is determining how to link together the DataGridView, BindingSource, TableAdapter, and DataSet in order to make the data entered by the operator flow into the actual SQL Server database. I've spent a week searching for an example without hitting pay dirt. Can someone point me to a decent tutorial on the subject?
Will Rogers never met me.
Check these articles A Detailed Data Binding Tutorial[^] DataGridView with Detail Edit Form[^]
thatraja
My Dad had a Heart Attack on this day so don't...
Pompeyboy3 here | Nobody remains a virgin, Life screws everyone :sigh: -
Check these articles A Detailed Data Binding Tutorial[^] DataGridView with Detail Edit Form[^]
thatraja
My Dad had a Heart Attack on this day so don't...
Pompeyboy3 here | Nobody remains a virgin, Life screws everyone :sigh:Both look like excellent articles - Thanks! :-D
Will Rogers never met me.
-
The stumper of the week for me is determining how to link together the DataGridView, BindingSource, TableAdapter, and DataSet in order to make the data entered by the operator flow into the actual SQL Server database. I've spent a week searching for an example without hitting pay dirt. Can someone point me to a decent tutorial on the subject?
Will Rogers never met me.
Might I suggest you forego the tutorials on DataSets and Table Adapters and concentrate on learning ADO.Net right from the start. It would serve you much better in the long run, particularly if you want to start implementing n-Tier design and OOP, and maybe go on to WPF. There are lots of good tutorials out there, here are a few:- Using ADO.NET for beginners[^]. Overview of ADO.Net[^] The C# Station ADO.NET Tutorial[^]. Anyway that is just my 2 cents.
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
-
Might I suggest you forego the tutorials on DataSets and Table Adapters and concentrate on learning ADO.Net right from the start. It would serve you much better in the long run, particularly if you want to start implementing n-Tier design and OOP, and maybe go on to WPF. There are lots of good tutorials out there, here are a few:- Using ADO.NET for beginners[^]. Overview of ADO.Net[^] The C# Station ADO.NET Tutorial[^]. Anyway that is just my 2 cents.
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
I've been using ADO.Net, but never tried using a DataGridView, and it seems to be made to utilize the mucky triumvirate of DataSet, TableAdapter, and BindingSource if one can believe the documentation. I just thought it would be nice for once to try what Microsoft intends, rather than going my own way as I usually do. :-D
Will Rogers never met me.
-
I've been using ADO.Net, but never tried using a DataGridView, and it seems to be made to utilize the mucky triumvirate of DataSet, TableAdapter, and BindingSource if one can believe the documentation. I just thought it would be nice for once to try what Microsoft intends, rather than going my own way as I usually do. :-D
Will Rogers never met me.
I have always found it much easier to implement my own methods for populating, paging and editing in the DataGridView using POCO classes filled by using ADO than using DataSets to be honest.
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman