title: Backup stored procedures for selected database and export to a textfile
body: <p>I developed an application where users can select specific tables to do backup and export to textfile for selected database and selected server. </p>
  
  <p>My form contains a list of servers available within the network and on user selection of server corresponding databases will be displayed and when user selects the database then corresponding tables will be displayed and user can select the tables he want to do backup and when enters execute button it does all backup and exports to a text file. </p>
  
  <p>Now I want to modify my program slightly when user selects database,if database contains stored procedures it should display list of all stored procedures in the selected database and should do the backup of them and export to a textfile. </p>
  
  <p>Please give me any ideas to achieve this.</p>