getting values form button click eventhttp://forums.asp.net/t/1808848.aspx/1?getting+values+form+button+click+eventTue, 05 Jun 2012 08:51:42 -040018088485003438http://forums.asp.net/p/1808848/5003438.aspx/1?getting+values+form+button+click+eventgetting values form button click event <p>Hi,</p> <p>how to get the values on botton click and pass it next time when page loads in c# ????</p> <p></p> 2012-05-30T08:05:57-04:005003547http://forums.asp.net/p/1808848/5003547.aspx/1?Re+getting+values+form+button+click+eventRe: getting values form button click event <p>There are mutiple ways to do this. It mainly depends on your requirement.</p> <p>1) You can save the value in session and get it on page load.</p> <p>2) You can pass the value in query string and get it on page load to the redirected page.</p> <p>3) You can save values in xml, database and get it on page load.</p> <p>What is your scenario? Explain.</p> 2012-05-30T08:47:19-04:005003551http://forums.asp.net/p/1808848/5003551.aspx/1?Re+getting+values+form+button+click+eventRe: getting values form button click event <p>Hi,</p> <p>Once you close the session, the values stored in the button click event will be cleared!</p> <p>Is there any DataBase where you can store the Values in button click and retrieve those values in Page Load</p> <p>Regards,</p> <p>Charan</p> 2012-05-30T08:47:55-04:005003623http://forums.asp.net/p/1808848/5003623.aspx/1?Re+getting+values+form+button+click+eventRe: getting values form button click event <p>Hi,</p> <p>For sending a value from one page to another page.<br> you need to use session object, Querystrinng method.<br> <br> for lean this topic visit : -</p> <p><a href="http://meeraacademydotnet.blogspot.in/2012/05/session-object-in-aspnet.html">Meera Academy</a></p> <p></p> 2012-05-30T09:15:07-04:005011687http://forums.asp.net/p/1808848/5011687.aspx/1?Re+getting+values+form+button+click+eventRe: getting values form button click event <p>Hi,</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>shobana raja</h4> <p></p> <p>how to get the values on botton click and pass it next time when page loads in c# ????</p> <p></p> </blockquote> <p></p> <p>I recommend you to read this document about ASP.NET State Management which elaborate ViewState, Hidden Field, Cookies, QueryString, Application State, Session State and Profile Propterty. Since you haven't explained what you want to implement exactly, to address your requirement, please check this document carefully and select appropriate option based on your practice scenario:</p> <p><a href="http://msdn.microsoft.com/en-us/library/75x4ha6s.aspx">http://msdn.microsoft.com/en-us/library/75x4ha6s.aspx</a></p> <p>BTW, this article about ASP.NET State Management Recommendations may be useful to you:</p> <p><a href="http://msdn.microsoft.com/en-us/library/z1hkazw7.aspx">http://msdn.microsoft.com/en-us/library/z1hkazw7.aspx</a></p> 2012-06-05T08:51:42-04:00