I have two Form One is CASH BOOk ANd another is CashBOOkUpdation...............whne i Doubleclick on ny row of datagrid of CashBOOk i go to the 2nd formCashBookUpdation for updating anything.............BT PRoblem is that when i came back to form CashBook after Editing............the Grid SHow The OLD records not the New Updation...........How this Problem Can Be Solved .......So that I Can Get update Data .............PLz anyOne Help me As soon as possible
DeepKiran
0
Newbie Poster
Recommended Answers
Jump to PostYou haven't provided any code so it's difficult to know how you are transferring information between the forms or if you are transfering information between the forms.
Also what controls are on CashBookUpdation? What is supposed to cause the update to happen? Click on a button?
A screen capture would …
Jump to PostUse an event and a delegate to notify the main form (CashBook) that an update has occured.
Create a new class and name it: ValueUpdatedEventArgs.vb
ValueUpdatedEventArgs.vb
Imports System Public Class ValueUpdatedEventArgs Inherits System.EventArgs 'forwards calls to appropriate event handler Public Delegate Sub ValueUpdatedEventHandler(ByVal sender As Object, ByVal …
All 5 Replies
cgeier
187
Junior Poster
cgeier
187
Junior Poster
cgeier
187
Junior Poster
DeepKiran
0
Newbie Poster
DeepKiran
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.