博客
关于我
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/

你可能感兴趣的文章
PAT (Basic Level) Practise - 写出这个数
查看>>
PAT 1027 Colors in Mars
查看>>
PAT 1127 ZigZagging on a Tree[难]
查看>>
PAT 2-07. 素因子分解(20)
查看>>
PAT A1033 重点题
查看>>
SparkSQL学习03-数据读取与存储
查看>>
PAT L2-012. 关于堆的判断
查看>>
PAT Spell It Right [非常简单]
查看>>
PAT-1044. Shopping in Mars (25)
查看>>
PAT-乙级-1040 有几个PAT
查看>>
Spring组件扫描配置
查看>>
PAT1093 Count PAT's (25)(逻辑题)
查看>>
PATA1038题解(需复习)
查看>>
Patching Array
查看>>
Spring源码学习(二):Spring容器之prepareContext和BeanFactoryPostProcessor的介绍
查看>>
PatchMatchStereo可能会需要的Rectification
查看>>
Path does not chain with any of the trust anchors
查看>>
Path形状获取字符串型变量数据
查看>>
PAT甲级——1001 A+B Format (20分)
查看>>
Skywalking原理
查看>>