RE: Child grids won't show new or edited values unless grid clicked
From: Kevin Yu [MSFT] (v-kevy_at_online.microsoft.com)
Date: 10/13/04
- Next message: W.G. Ryan eMVP: "Re: How to retrieve datetime value in long time?"
- Previous message: GoodMorningSky: "How to retrieve datetime value in long time?"
- In reply to: Dennis: "RE: Child grids won't show new or edited values unless grid clicked"
- Next in thread: Dennis: "RE: Child grids won't show new or edited values unless grid clicke"
- Reply: Dennis: "RE: Child grids won't show new or edited values unless grid clicke"
- Messages sorted by: [ date ] [ thread ]
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."
- Next message: W.G. Ryan eMVP: "Re: How to retrieve datetime value in long time?"
- Previous message: GoodMorningSky: "How to retrieve datetime value in long time?"
- In reply to: Dennis: "RE: Child grids won't show new or edited values unless grid clicked"
- Next in thread: Dennis: "RE: Child grids won't show new or edited values unless grid clicke"
- Reply: Dennis: "RE: Child grids won't show new or edited values unless grid clicke"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|