- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 105字
- 2021-07-02 15:29:28
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.
推薦閱讀
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- HTML5+CSS3王者歸來
- Learning C++ Functional Programming
- Instant 960 Grid System
- Learning Network Forensics
- 數(shù)據(jù)結(jié)構(gòu)案例教程(C/C++版)
- Unity 2018 Shaders and Effects Cookbook
- C++ Fundamentals
- Android應(yīng)用開發(fā)實(shí)戰(zhàn)
- 零基礎(chǔ)看圖學(xué)ScratchJr:少兒趣味編程(全彩大字版)
- Visual C++程序設(shè)計(jì)與項(xiàng)目實(shí)踐
- Learning Cocos2d-JS Game Development
- Building a Media Center with Raspberry Pi
- Mastering Machine Learning with scikit-learn
- 設(shè)計(jì)模式之禪