Click here to Skip to main content
15,940,550 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Goood afternoon guys,

Is there any way to backup Top 1000 data only in mysql database?

Any suggesstion will be so much appreciated.
Thank You and God Bless.
Posted
Comments
[no name] 27-Nov-13 0:30am    
if you want to save in xml format it can be possible using c# code.
Member 8076338 27-Nov-13 1:04am    
Goodafternoon sir,
How can i do that using C#?

1 solution

C#
string strTkBkUp = "Select Query will be here ";
                GlobalDs = GlobalConectionClass.ExecuteDataSet(strTkBkUp);
                string FileName = "e:\\StockBkUp" + tableNm + DateTime.Now.ToString("ddMMyyyy");
                GlobalDs.WriteXml(FileName);
                GlobalDs.Dispose();
 
Share this answer
 

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