Transfer Values from one page to another page
Dear all,
Im beginner to asp.net I have created a project with two web pages. the first page (page1.aspx) contains one dropdown, one textfield and one button. (all the three are web controls). i just want to retrieve and display the contents from page1.aspx in second page (page2.aspx) while clicking the button from page1.aspx.
im using c# as the code behind file.
im facing lot of troubles such as,
(i) if i keep the button as web control, the page is not redirecting , even though i have written the response.redirect code on the buttonclick event at the .cs file.
(ii) if i keep the button as html control and in form tag if i mention action="page2.aspx" , im able to navigate to second page but i cant retrieve the textfield/dropdown values.
kindly help me to sort out this problem in either way.
thanks in advance.
Yours,
Saran
__________________
Best Regards,
Saran.
|