ahmed sa

ahmed sa

  • NA
  • 289
  • 128.7k

I need to loop within file and change word to another how

Apr 8 2014 1:33 AM
Hi guys i have file that has more statments as following :

delete from dbo.[Rabigh$Sales Invoice Header] where no =5
delete from dbo.[Rabigh$Sales Invoice Line] where no =5
delete from dbo.[Rabigh$Cust_ Ledger Entry] where no =5
delete from dbo.[Rabigh$Detailed Cust_ Ledg_ Entry] where no =5
------------------------------

delete from dbo.[Rabigh$Sales Invoice Header] where no =6
delete from dbo.[Rabigh$Sales Invoice Line] where no =6
delete from dbo.[Rabigh$Cust_ Ledger Entry] where no =6
delete from dbo.[Rabigh$Detailed Cust_ Ledg_ Entry] where no =6
How to loop within file and change word Rabigh to Jeddah
i work in visual studio 2005 and above this is content of file that have statments
How i achieve this task by c#

Answers (1)