atarikg

Hi,

I wanna send my instance object between asp.net pages. For example : i wanna create a search engine and if one enters some words ,the engine find same words which one entered in textbox then i wanna be found fetched datas' id. and i wanna add this into List<int> object and i wanna send this instance object between two pages. how can i do that..

Please help me..Thanks..




Re: ASMX Web Services and XML Serialization Sending Instance Object between Pages

Christian Liensberger

Well you could also do something different. You could send the entered word as argument, ( word=foo) in the adress, to the second page and the second page does then the load and display of the results... That's also what Google and other search providers do. It's way easier and requires less data transfer.




Re: ASMX Web Services and XML Serialization Sending Instance Object between Pages

LoveC#

But i wanna send more than one word at the same time to the same page... :(




Re: ASMX Web Services and XML Serialization Sending Instance Object between Pages

Christian Liensberger - MSP

You can add more then one value to it... For example v=Value1&v2=Value2&v3=Value3 ... Have a look into this: Solve Postback Hassles with Cross-Page Postbacks in ASP.NET 2.0. It might help you!




Re: ASMX Web Services and XML Serialization Sending Instance Object between Pages

LoveC#

Ok but my datas are dynamic so there is no limit so how can i know how many ids are there to wrap these values to QueryString




Re: ASMX Web Services and XML Serialization Sending Instance Object between Pages

Christian Liensberger - MSP

Have you read that article I posted in the last reply (link) You can do a crosspage postback. That would do it for what you want to achieve!




Re: ASMX Web Services and XML Serialization Sending Instance Object between Pages

LoveC#

uppss sorry sir..i wil read it immediately..thks