Hi all,
I am currently working on a online book store project and i had an issue . When the user searches for a book we have to display lowest price of the book from the internet(means it has to compare with all the book shops in the internet ).And we have to display the prices form the internet hierarchically in a grid view.A replica of www.addall.com site is what we require.So, please if anybody find any sort of information regrading this concept please reply us back.
Thanks in advance
Loading
Bechir BejaouiPosted Dec 16, 2008, 6:55 PM
WebClient client = new WebClient();
client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(
client_DownloadStringCompleted);
client.DownloadStringAsync(new Uri(
"http://feeds......"));//your feed path here
void client_DownloadStringCompleted(object sender,
DownloadStringCompletedEventArgs e)
{
//Get the information in an xmlDocument
XmlDocument document = XmDocument.Parse(e.Result);
// and the you can deal with information either by applying xsl or by querying data
//using LINQ
}
One remark: You shouldn't test it from your local site you have to deploy it in the internet or at least create a virtual repertory with IIS an deploy your application there then test it