Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have sql file (.sql Extension) now i convert this to XML file. Because my sql file having nearest 100 MB i can't upload this if it is in XML file i can easily use for upload.
Posted

1 solution

C#
string text = System.IO.File.ReadAllText(@"C:\Documents and Settings\username\Desktop\k.sql");
 
Share this answer
 
Comments
Raju Selvam 23-Jun-14 0:24am    
Hi Prasad its not working, after run this my string value as nothing....

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