Hello
I have label in first_page.aspx having value "Mar-2010". I want to set the value "Mar-2010" in dropdown in Second_page.aspx on page_Load.
If I am writing the code
if(!IsPostBack)
{
//my code
}
then it is not working. Otherwise, Outside if block it's working.
But it set value in the dropdown only, if writing outside the IF block.
I want to filter data of "Mar-2010" only."Mar-2010" shows in the dropdown but page shows all the value "Jan-2010","Feb-2010","Mar-2010" and so on.
Pls Help
Thanks in Advance
How to set one page value to another page
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Manikavelu VelayuthamRank #413 · 6K reputationPosted Jun 29, 2011, 9:10 PM EDT
Cross-Page Posting in ASP.NET Web Pages
http://msdn.microsoft.com/en-us/library/ms178139.aspx
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jun 29, 2011, 9:48 PM EDT
Use Querystrings to pass the value from one page to other....
Suthish NairRank #92 · 22.8K reputationPosted Jun 29, 2011, 9:56 PM EDT
refer articles for different ways: Different Ways to Pass Data between Web Forms
Akkiraju IvaturiRank #473 · 5.3K reputationPosted Jun 30, 2011, 8:59 PM EDT