Results 1 to 2 of 2

Thread: help datagrid winforms

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    10

    help datagrid winforms

    I have a datatable connected to my datagrid with an editable column, which I want to do is that when modifying that cell and when it loses the center to pass the new value to my column of my datatable.

    thanks

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: help datagrid winforms

    If you have bound your DataTable to your DataGrid via the DataSource property then, as the word "bound" suggests, the data in your DataTable IS the data in your DataGrid. They are one and the same, so if you make a change in the grid it will be reflected in the table without any intervention from you.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width