官术网_书友最值得收藏!

Creating a button to exchange and then comparing two values

Open up a project and click on the <html> tab. The only thing to put in there is a button. This time, we will not read any values from the user just to save time. So, go to Toolbox and grab a Button control. Drag and drop it below the line beginning with <form id=... (you can delete the <div> lines, as we won't be needing them). Change the text on the button to say Exchange And Compare. So, this will exchange two values and then compare them. Your complete Default.aspx file should look like the one shown in Figure 2.2.1:

Figure 2.2.1: The complete HTML file for this chapter
主站蜘蛛池模板: 开阳县| 汉川市| 措美县| 原平市| 龙游县| 彭阳县| 志丹县| 水城县| 仙游县| 绥化市| 咸阳市| 河南省| 荃湾区| 微山县| 三穗县| 淳安县| 北碚区| 枣强县| 荆门市| 察雅县| 博湖县| 通山县| 水城县| 军事| 上蔡县| 温泉县| 红河县| 马公市| 台南县| 呼和浩特市| 万山特区| 汽车| 大姚县| 冕宁县| 珠海市| 富平县| 永川市| 唐河县| 新昌县| 杭锦旗| 仲巴县|