- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 112字
- 2021-07-02 15:29:16
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
推薦閱讀
- Getting Started with Gulp(Second Edition)
- Java面向對象軟件開發(fā)
- 造個小程序:與微信一起干件正經事兒
- WSO2 Developer’s Guide
- 跟小海龜學Python
- Java Web程序設計
- Mastering Python High Performance
- 單片機C語言程序設計實訓100例
- MATLAB GUI純代碼編寫從入門到實戰(zhàn)
- Windows Phone 8 Game Development
- ASP.NET求職寶典
- Mudbox 2013 Cookbook
- 你好!Java
- ASP.NET jQuery Cookbook(Second Edition)
- Learning Perforce SCM