Hi,
I need to create a backup of a database whenever a user clicks on a button.
As I'm using sqlexpress, I'll need to run a stored procedure which contains code that tells the database to backup to a file (I've got examples of how to do this).
My problem is that I've never really had to run a stored procedure before and I'm not sure how to tell a database to run one based on a button event handler (or any event for that matter!)
How do I tell the database to run a stored procedure from my c++ application?
Thanks in advance.
I need to create a backup of a database whenever a user clicks on a button.
As I'm using sqlexpress, I'll need to run a stored procedure which contains code that tells the database to backup to a file (I've got examples of how to do this).
My problem is that I've never really had to run a stored procedure before and I'm not sure how to tell a database to run one based on a button event handler (or any event for that matter!)
How do I tell the database to run a stored procedure from my c++ application?
Thanks in advance.