HOW TO PASS DATA FROM ONE WINDOW FORM TO ANOTHER?

Tanuj Kumar

Total Post:134

Points:940
Posted by  Tanuj Kumar
C# 
C#
 1854  View(s)
Ratings:
Rate this:
Hello Everyone,
I'm facing a problem since last night, actually I want to pass data from one window form to another and vice versa too but I don't have an idea how to do it. So please resolve my problem as soon as possible.

Thanks in advance!!
  1. Shankar M

    Post:25

    Points:175
    Re: How to pass data from one window form to another?


    Hi Tanuj,

    You can pass the data from one window Form1  to another Form2 via creating an object of the Form2 and passing the
    data to the constructor of Form2.

    Regards,
    Shankar

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!