windows forms datagrid

This is a discussion on windows forms datagrid within the C# Programming forums, part of the General Programming Boards category; I have a windows forms datagrid which isn't completely redrawing when I do: Code: dgPay.DataBindings.Clear() dgPay.SetDataBinding(dsPaySet, "ParentTable") dgPay.Refresh() Specifically, the ...

  1. #1
    Something Clever ginoitalo's Avatar
    Join Date
    Dec 2001
    Posts
    187

    windows forms datagrid

    I have a windows forms datagrid which isn't completely redrawing when I do:

    Code:
            dgPay.DataBindings.Clear()
            dgPay.SetDataBinding(dsPaySet, "ParentTable")
            dgPay.Refresh()
    Specifically, the last cell in the grid that had focus remains visible even after dgPay.DataBindings.Clear() is called. This is VERY misleading when the current row has the ID of the previously selected row

    Any thoughts?
    Last edited by ginoitalo; 03-01-2006 at 03:38 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  2. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  3. accessing windows forms textbox properties
    By luigi40 in forum C# Programming
    Replies: 5
    Last Post: 04-19-2005, 04:53 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21