Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Trying My First DataGridView Project

Trying My First DataGridView Project

Scheduled Pinned Locked Moved Database
tutorialdatabasesql-serversysadminalgorithms
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #1

    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.

    T W 2 Replies Last reply
    0
    • R Roger Wright

      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.

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      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:

      R 1 Reply Last reply
      0
      • T thatraja

        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:

        R Offline
        R Offline
        Roger Wright
        wrote on last edited by
        #3

        Both look like excellent articles - Thanks! :-D

        Will Rogers never met me.

        1 Reply Last reply
        0
        • R Roger Wright

          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.

          W Offline
          W Offline
          Wayne Gaylard
          wrote on last edited by
          #4

          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

          R 1 Reply Last reply
          0
          • W Wayne Gaylard

            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

            R Offline
            R Offline
            Roger Wright
            wrote on last edited by
            #5

            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.

            W 1 Reply Last reply
            0
            • R Roger Wright

              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.

              W Offline
              W Offline
              Wayne Gaylard
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups