CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2001
    Location
    County Durham, England
    Posts
    238

    DataGrid Control

    Quick Question to all you Experts . . .

    I have a Datagrid COntrol which I have linked to a Datasource and a Data Member from a DataEnvironment. I have a couple of option buttons which basically filter the data in various ways. However although my filter is changing the amount of records in the underlying recordset, the data in the Datagrid is not changing, what am I doing wrong ?

    Work is necessary for man. Man invented the alarm clock.

  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: DataGrid Control

    you need to do a .Refresh or .Requery depending on your circumstances.

    John G

  3. #3
    Join Date
    Mar 2001
    Location
    County Durham, England
    Posts
    238

    Re: DataGrid Control

    I have tried the .Refresh, .Requery and the .Rebind, all appear to do nothing to the records in the Datagrid ?

    Work is necessary for man. Man invented the alarm clock.

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

Featured