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

Adding a Show Values button to the HTML

Bring up a project, and below the line beginning with <form id=... in the <html>, we will place a button. Change the text on the button to something different, for example, Show Values.

Now switch to the Design view, and double-click on the Show Values button. This takes us into Default.aspx.cs. Delete the Page_Load block. We don't need it. The relevant portion of the starting code for this project should look like Figure 9.4.1:

Figure 9.4.1: The starting code section for this project

We'll work with a little bit of code in this chapter, but it's sequential from top to bottom.

主站蜘蛛池模板: 安龙县| 广汉市| 哈密市| 综艺| 璧山县| 磴口县| 宁波市| 会泽县| 木里| 山西省| 隆安县| 类乌齐县| 大名县| 建平县| 集安市| 饶河县| 唐河县| 塔河县| 广丰县| 雅江县| 盐城市| 尼木县| 巴塘县| 如东县| 宁波市| 沂水县| 神池县| 宁河县| 蒙山县| 长垣县| 波密县| 犍为县| 汤阴县| 赣州市| 临漳县| 长宁县| 武定县| 宝鸡市| 舟曲县| 孙吴县| 武陟县|