Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have one Form with Mid parent... 2 nd is Gridview is child of the midparent... 3rd is AddForm

now the question is

when in back my Gridview is open and in front i have Addform open i will add the Data in form and when i click ADD data will be refreshed in The Back Gridview Form
Posted
Updated 23-Sep-12 6:45am
v2
Comments
[no name] 23-Sep-12 12:48pm    
There is not any kind of a question here. This is not even a description of any kind of a problem.
Bhimani Hiral 23-Sep-12 12:51pm    
but it's simple...question

i want refresh data of datagridview...
when i add the...data in other form
[no name] 23-Sep-12 12:56pm    
No it's not a question at all. "I want" is not a question. There is no description of your problem, no code that demonstrates any kind of a problem and nothing that indicates what kind of mechanism you are using to communicate between your forms.
Bhimani Hiral 23-Sep-12 13:00pm    
i give u my whole project ???
.rar file ...??

my project is in
visual studio 2008 C# and SQL server 2008
Bhimani Hiral 23-Sep-12 13:01pm    
my prject contain only 3 fomrs..only

1 solution

Please go through the discussion in How to refresh datagridview when closing child form?[^].
The correct answer describes how to refresh Parent GridView from Child forms.

Thanks...
 
Share this answer
 

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