- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 115字
- 2021-07-02 15:29:14
Adding a button to Default.aspx
Now, let's take a look at Default.aspx. The only thing we really need to do at this time is to add a Button control. For this, go to Toolbox and grab a Button control from there. 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 control to, for example, Display Values. Your complete Default.aspx file should look like the one shown in Figure 1.1.2:

Figure 1.1.2: The complete HTML for this project
Now, go to the Design view. Our very simple interface is shown in Figure 1.1.3:

Figure 1.1.3: Our very simple interface in the Design view
推薦閱讀
- 深入核心的敏捷開發:ThoughtWorks五大關鍵實踐
- PHP動態網站程序設計
- Git Version Control Cookbook
- Python科學計算(第2版)
- Drupal 8 Blueprints
- Easy Web Development with WaveMaker
- AutoCAD VBA參數化繪圖程序開發與實戰編碼
- 自然語言處理Python進階
- Access 2010數據庫應用技術(第2版)
- R語言與網絡輿情處理
- Java面向對象程序設計
- Android傳感器開發與智能設備案例實戰
- Domain-Driven Design in PHP
- Apache Camel Developer's Cookbook
- FPGA嵌入式項目開發實戰