3 Star 3 Fork 54

JoyPoint/StudyStudio

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
controls.aspx 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
JoyPoint 提交于 2019-10-07 16:08 +08:00 . WebCode v1.0
<!-- controls.aspx
An example of an ASP.NET document that creates a text box,
a drop-down list, and a label.
A code-behind file is used to populate the drop-down list
and display a message when an item from the drop-down list
is selected. The label is used for the message
-->
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="controls.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Controls</title>
</head>
<body>
<form id="form1" runat="server">
<div>
Name: <asp:TextBox ID="name" runat="server"></asp:TextBox>
<br /><br />
Favorite color:
<asp:DropDownList ID="color" runat="server"
AutoPostBack="true"
OnSelectedIndexChanged="itemSelected">
</asp:DropDownList>
<br /><br />
<asp:Label ID="message" runat="server" Text=""></asp:Label>
</div>
</form>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/JoyPoint/StudyStudio.git
git@gitee.com:JoyPoint/StudyStudio.git
JoyPoint
StudyStudio
StudyStudio
master

搜索帮助