Is there anyone how to write the print function so that i can print out the web form with the web control contents.Here is the scenario , the web form i would like to print out have:
1.TextboxA.txt = "Sample1"
2.TextboxB.txt = "Sample2"
3.DropdownlistA.selectedIndex = "1"
Please teach me how to write the print function in ASP.NET so that i can print out the web form with the result like this:
Name : Sample1
Age : Sample2
Sex : ValueB *(since the dropdownlist selected index is 1)
Date : CalendarA.