Click here to Skip to main content
15,911,762 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to refresh my form(form1) or sql connection without closing or reopening on button click
but how........
Posted
Comments
Jignesh Khant 22-Jul-13 7:14am    
You can do it on Timer Ticks Event.

Hi,

This article How to reload windows form without closing it[^] would solve your problem.

hope it helps.
 
Share this answer
 
If you want to refresh sql connection then this link would be a good option.
http://stackoverflow.com/questions/6521080/how-to-refresh-the-state-of-a-sqlconnection[^]
 
Share this answer
 
C#




http://www.daniweb.com/software-development/vbnet/threads/208541/how-to-reload-the-main-form-without-closing-the-application


i hope it's use for you...
 
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