Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi every one
when i insert from form .net so i effect in database
then this effect from form in database ok
if i have another form
i want effect in this form when insert
if any change happen in db tell this form and connection is this form is opening

i need to reversal

there is anyway to do that ?
thanks for any help
and im sorry if my question is uncommon
Posted

1 solution

If i understand your qustion there is two form say form1 and form2 and whenever you insert some data into database using form1 it should be reflated on form2.
If this is the case then you will need to use InotifyPropertyChanged interface.

for deatils you can check this link

http://msdn.microsoft.com/en-us/library/ms229614.aspx
 
Share this answer
 
Comments
Mostafa Elsadany 6-Mar-11 1:24am    
thanks for help
CS2011 6-Mar-11 1:30am    
You are welcome :-)
Monjurul Habib 6-Mar-11 4:10am    
nice recommendation,my 5+
CS2011 6-Mar-11 6:08am    
Thanks
CS2011 6-Mar-11 6:08am    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900