Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
MySqlBackup mb=new MySqlBackup();
 
            mb.Connection = new MySqlConnection(@"server=localhost;user=root;database=db_track;");
        
            mb.ImportInfo.AsynchronousMode = true;
           
            mb.ImportInfo.FileName = @"C:\Users\DigiOM\Desktop\vehicle.sql";
            mb.Import();

my application is on asp.net windows application
in this above code restore only table not restore store procedure
please help me to store procedure in database with table
Thank You.
Posted
Updated 24-Oct-13 0:06am
v2

1 solution

Hello Nits,

Please checkout this[^] similar question already asked and answered on this forum.

Regards,
 
Share this answer
 
Comments
Bama Boy 24-Oct-13 6:11am    
sir i already used that code

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