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

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
主站蜘蛛池模板: 尉犁县| 米脂县| 高台县| 准格尔旗| 彰武县| 中西区| 方山县| 长顺县| 金溪县| 康保县| 靖安县| 六盘水市| 漳平市| 馆陶县| 桃源县| 元氏县| 长汀县| 九江县| 康定县| 凤山市| 安新县| 浮山县| 鸡泽县| 香河县| 侯马市| 体育| 长春市| 海盐县| 丰台区| 安国市| 芒康县| 会宁县| 冀州市| 灵台县| 西平县| 连城县| 木里| 南康市| 金平| 疏勒县| 淮滨县|