Forums - C# Corner

Forum guidelines
Emad khan

Emad khan

  • 1.5k
  • 49
  • 27.3k

How to execute stored procedure in winforms ?

Sep 14 2013 3:13 PM
Actually i am making import and export database option in winforms ! i am using connected architecture in winforms ... my database resides in sql management studio 2012 ! my question are :

1 - how to make a stored procedure in ssms 2012 through which i can restore the backup of my current active database while overwriting the current data with targeted restoration database backup ???

2 - how to use this stored procedure in my winforms app ?

NOTE: my backup database stored procedure is working fine in winforms !!!          
Please guide me in easiest way ....   

Answers (1)