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

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

How to Passing Data Between tab controls?

Posted By: Murali     Posted Date: August 06, 2012    Points:5   Category :Windows Application
Hi all,

I have developed windows application with c# code, I was added tab control tool, in that tab control i was added three pages (3 tabs), i want to navigate the text box value in another tab page. How to Passing Data Between tab controls?

Ex: 1st tab name is Page1 and Second Tab name is Page 2

I was entered value in text box. That text box value should be navigate to another tab while clicking the "next" button.

Thanks and Regards,

Author: Narayanan          Accepted Answer   
Posted Date: August 06, 2012     Points: 40   

Tab control 1 contains textBox1 and next Button
Tab control 2 contains textBox2

Click Next Button Event
  textBox2.Text = textBox1.Text;

      tabControl1.SelectedIndex = 1;

Regards, Lakshmi Naraayanan.S
Author: Murali             
Posted Date: August 06, 2012     Points: 20   

Thanks a lot Narayanan it's working fine thank you.

Author: Narayanan             
Posted Date: August 06, 2012     Points: 20   

Hi Murali.
Welcome.Mark mu Answer.

Regards, Lakshmi Naraayanan.S

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

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