.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

display text in other page

Posted By: Rama Krishna     Posted Date: August 14, 2009    Points:2   Category :C#
in c#.net
in first page i took
lable-- textbox
lable-- textbox
lable-- textbox

in second page i took
lable
lable
lable

my requiement is the text enterd in text boxes in first page will display in lables in second page
thank for reply but insecond page notvisible the text
i want some guidlines for code

Responses
Author: Akhil Raj       [Moderator]      
Posted Date: August 14, 2009     Points: 5   

hi

for this different methods are avialble..eg: query string, session..

Which one you used? can you give your code

Author: Rama Krishna             
Posted Date: August 14, 2009     Points: 5   

Label10.Text = Request["TxtTO"];
Label11.Text = Request["TxtCC"];
Label12.Text = Request["TxtBCC"];
Label13.Text = Request["TxtSBG"];
Label6.Text = Request["TxtMSG"];

Author: Rama Krishna             
Posted Date: August 14, 2009     Points: 5   

this is under page load event in second page

Author: Rama Krishna             
Posted Date: August 14, 2009     Points: 5   

this is under page load event in second page

Author: Akhil Raj       [Moderator]      
Posted Date: August 14, 2009     Points: 5   

hi rama,

Label10.Text = Request.QueryString["TXTTO"];

use like this if u transfer the values via query string. please give the first page code

Author: Rama Krishna             
Posted Date: August 14, 2009     Points: 5   

thank you AKHIL i got it using session concept

Author: Akhil Raj       [Moderator]      
Posted Date: August 14, 2009     Points: 5   

ok well done



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend