I have an excel sheet(ms excel 2010) in my D drive named "test". I have data in it as follows
Id URL
1 http://www.sample.com/term=100898731%5Buid%5D&cmd=DetailsSearch&report=xml&format=text
2 http://www.sample.com/term==101120693%5Buid%5D&cmd=DetailsSearch&report=xml&format=text
3 http://www.sample.com/term==100893225%5Buid%5D&cmd=DetailsSearch&report=xml&format=text
...........continues ............
How do I code in C# to read these URL one by one from the excel sheet and get the numerical value after "term=" ?
Try this
Now your Excel sheet are in datatable, Which you can traverse to manipulate the string value in URL
Edit
For getting String
try this