RE: Child grids won't show new or edited values unless grid clicked

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kevin Yu [MSFT] (v-kevy_at_online.microsoft.com)
Date: 10/13/04


Date: Wed, 13 Oct 2004 01:50:48 GMT

Hi Dennis,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that the DataGrid which shows keyword and
SearchPhrase don't get refreshed when data in the DataSet is modified. If
there is any misunderstanding, please feel free to let me know.

In this case, we can simply add a DataGrid.Refresh() call to achieve this.
It will get the latest data from the data source. here I added it right
after the popup edit window returns. HTH.

        If cm.Count > 0 Then
            If cmK.Count > 0 Then
                Dim frmEditKeyword As New frmEditKeyword
                With frmEditKeyword
                    .EditKeyword(cmK)
                    .KeywordSetID = Me.KSID
                    .ShowDialog()
                End With
                frmEditKeyword.Dispose()
                Me.dgrdKeyword.Refresh() 'Refresh the DataGrid to show
latest data.
            Else
                ........

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."



Relevant Pages

  • RE: Child grids wont show new or edited values unless grid clicke
    ... Dennis ... I would like to confirm my understanding of your issue. ... I understand that the DataGrid which shows keyword and ...
    (microsoft.public.dotnet.framework.adonet)
  • RE: VB database problems
    ... I would like to confirm my understanding of your issue. ... As far as I know, the DataGrid in VB6 cannot be printed directly. ... However there are some third party activeX controls that can achieve this. ... "This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.scripting.vbscript)
  • Re: Problem with object instance....
    ... AFAIK, the problem is here, and your understanding of the "this" ... keyword. ... var INSTANCE=this; ... In rough terms, the value of "this" within a function depends on what ...
    (comp.lang.javascript)
  • Re: Maxwells laws
    ... "Not sure" seems to be the keyword. ... background, lack of examples, and lack of understanding (no shortage ... you stumble so often from tying your gaussian shoelaces together. ...
    (rec.radio.amateur.antenna)
  • RE: Kind of table
    ... I would like to confirm my understanding of your issue. ... other than DataGrid and make each column aligned. ... "This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.dotnet.languages.csharp)