Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I've multiple mysql queries(like to create multiple tables) in file.
Actually i wanna execute them in windows c# app so that i create tables in new created DB. I'm able to create new DB.

So in order to do this i have fetched the contents from file to a string.Now the task is to execute the string...I don't know how, Can u help me?
Posted
Updated 30-Dec-10 19:04pm
v2

1 solution

 
Share this answer
 
Comments
krishna kishore58 31-Dec-10 1:16am    
Hey guys I got it...I did rigorous R&D...An i got atlast...Hey vivekse before going to your suggestion I got..But thanks A LOT for replying...
vivekse 31-Dec-10 4:25am    
Great , You can also share the way you have taken to solve this problem other can benefit it.

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