Forums - C# Corner

Forum guidelines
Emad khan

Emad khan

  • 730
  • 32
  • 19.9k

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)

Startup Conference 2016

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.