C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







how to pass values across the page


Posted Date: 30 May 2008      Total Responses: 6

Posted By: Ramya       Member Level: Silver     Points: 1


How to pass the values(more than 20 values) to the next page. with out using session. for example user registration forms.

Thanks in advance.





Responses

Author: srilu    30 May 2008Member Level: DiamondRating:     Points: 2
Hi, u can store those values in XML File and send them to other pages, or u can put them in a dataset or arraylist and save them in a sesion


Author: Shaijil    30 May 2008Member Level: BronzeRating:     Points: 2
U can also store the values in an array and pass it via Query string.
ex:
Response.Redirect("Form1.aspx?'" + dataArray + "'");



Author: Kumar Velu    30 May 2008Member Level: DiamondRating:     Points: 2
hi,

try like this:

Response.Redirect("Webform2.aspx?values=" +
this.txtName.Text + "&LastName=" +
this.txtLastName.Text);

check it out..



Author: mahendra    30 May 2008Member Level: GoldRating:     Points: 2
You can use Postbackurl property of the button.


Author: Parashu(Swathimutyam)    30 May 2008Member Level: GoldRating:     Points: 2
maintain the session management


like this.Page.Session["ArrayOfValues"]=Array;


use it in some other page.


Author: Yuvaraj    30 May 2008Member Level: SilverRating:     Points: 2
You can use the query string mwthod to pass values to next page
Response.Redirect("Sample.aspx?item1="+txtName.Text);


Post Reply
You must Sign In to post a response.
Next : error while running my asp.net application
Previous : To Kumar
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design   Scripts

internet fax

Contact Us    Privacy Policy    Terms Of Use