hello..i want to print a form2 that get the data from form1 . my problem is i can print that form2, but the data from from1 cannot get to form2..can anyone help me?:(

>but the data from from1 cannot get to form2

You have to write public methods to pass data between form instances.

Hi,
What you could do is to declare some public Variables on form2, and when the user clicks the button to show the form, then you pass the data you want into these variables... :)

Hope i helped,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.