博客
关于我
vs2015 dynamicweb4-2
阅读量:306 次
发布时间:2019-03-03

本文共 1316 字,大约阅读时间需要 4 分钟。

个人信息录入

个人信息

性别:
生源地:
兰州市
市外省内
甘肃省外
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace dynamicweb4_2{    public partial class WebForm1 : System.Web.UI.Page    {        protected void Page_Load(object sender, EventArgs e)        {            // 页面加载时初始化        }        protected void btnSubmit_Click(object sender, EventArgs e)        {            // 检查性别选择            if (rbMale.Checked)            {                lblTips.Text = "性别:男";            }            else            {                lblTips.Text = "性别:女";            }            // 检查生源地选择            if (rblOrigin.SelectedIndex != -1)            {                lblTips.Text += "生源地:" + rblOrigin.SelectedItem.Text;            }            else            {                lblTips.Text += "生源地:未经性选择";            }        }    }}

转载地址:http://vcrm.baihongyu.com/

你可能感兴趣的文章
Parrot OS 6.3 发布!全面提升安全性,新增先进工具,带来更高性能
查看>>
ParseChat应用源码ios版
查看>>
Part 2异常和错误
查看>>
Pascal Script
查看>>
Spring Boot集成Redis实现keyspace监听 | Spring Cloud 34
查看>>
Spring Boot中的自定义事件详解与实战
查看>>
Passport 密码模式
查看>>
Spring Boot(七十六):集成Redisson实现布隆过滤器(Bloom Filter)
查看>>
passwd命令限制用户密码到期时间
查看>>
Spring Boot 动态加载jar包,动态配置太强了!
查看>>
Spring @Async执行异步方法的简单使用
查看>>
PAT (Basic Level) Practice 乙级1021-1030
查看>>
PAT (Basic Level) Practice 乙级1031-1040
查看>>
PAT (Basic Level) Practice 乙级1041-1045
查看>>
SparkSql的元数据
查看>>
PAT (Basic Level) Practice 乙级1051-1055
查看>>
PAT (Basic Level) Practise - 写出这个数
查看>>
PAT 1027 Colors in Mars
查看>>
PAT 1127 ZigZagging on a Tree[难]
查看>>
PAT 2-07. 素因子分解(20)
查看>>