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

你可能感兴趣的文章
numpy学习笔记3-array切片
查看>>
numpy数组替换其中的值(如1替换为255)
查看>>
numpy数组索引-ChatGPT4o作答
查看>>
numpy最大值和最大值索引
查看>>
NUMPY矢量化np.prod不能构造具有超过32个操作数的ufunc
查看>>
Numpy矩阵与通用函数
查看>>
numpy绘制热力图
查看>>
numpy转PIL 报错TypeError: Cannot handle this data type
查看>>
Numpy闯关100题,我闯了95关,你呢?
查看>>
nump模块
查看>>
Nutch + solr 这个配合不错哦
查看>>
NuttX 构建系统
查看>>
NutUI:京东风格的轻量级 Vue 组件库
查看>>