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

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
主站蜘蛛池模板: 闻喜县| 安泽县| 屏边| 尤溪县| 缙云县| 崇州市| 汕尾市| 永吉县| 宁德市| 历史| 万山特区| 军事| 竹山县| 靖西县| 武强县| 呼伦贝尔市| 榕江县| 陇川县| 莎车县| 徐汇区| 横峰县| 灌云县| 出国| 尖扎县| 岑巩县| 四子王旗| 孝感市| 石楼县| 保康县| 昌江| 南通市| 高碑店市| 西安市| 洱源县| 洛川县| 沂水县| 甘洛县| 枣阳市| 万盛区| 自治县| 固始县|