易截截图软件、单文件、免安装、纯绿色、仅160KB

ASP.net 类和属性的问题

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL;
using Model;
public partial class InsertOwnerInfo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
    }
    protected void btnOk_Click(object sender, EventArgs e)
    {
        OwnerInfo owner = new OwnerInfo();
        owner.OwnerId = this.textid.Text.Trim();
        owner.OwnerName = this.textName.Text.Trim();
        owner.OwnerSex = this.ddlSex.SelectedValue.ToString();
        owner.Address = this.textAddress.Text.Trim();
        owner.Phone = this.textPhone.Text.Trim();
        owner.Mobile = this.textMobile.Text.Trim();
        owner.Company = this.textcompany.Text.Trim();
        owner.OfficePhone = this.textofficePhone.Text.Trim();
        owner.PaperName = this.textpaperName.Text.Trim();
        owner.PaperId = this.textpaperId.Text.Trim();
        owner.InkDate = this.textinkDate.Text.Trim();
        owner.GarrisonDate = this.TextgarrisonDate.Text.Trim();
        owner.GarrisonEndDate = this.TextgarrisonEndDate.Text.Trim();
        owne


相关文档:

asp.net Forms表单验证 使用经验及验证流程分析

asp.net Forms表单验证 使用经验及验证流程分析
 
      最近,要做一个登陆的页面,就想到了安全性方面的问题。记得曾经在邵志东老师讲的关于asp.net安全性方面的课程中,提到asp.net提供了4个身份验证程序:1.表单身份验证;2.Windows身份验证;3.Passport身份验证;4.默认身份验证 ......

浅析ASP.NET生成随机密码

在开发需要用户注册后才能使用提供的各项功能的应用程序时,在新用户提交注册信息后,较常见的做法是由程序生成随机密码,然后发送密码到用户注册时填写的电子信箱,用户再用收到的密码来激活其帐户。
实现ASP.NET生成随机密码功能是很容易的,下面的代码给出了完整的实现方法:
publicstaticstringMakePassword(stringpw ......

ASP.NET的五大数据控件

ASP.NET 数据控件:GridView,DataList,Repeater ,DetailsView,FormView。
ASP.NET 数据控件综述:
1.前3个用于呈现多条记录,后面2个用于呈现单条数据明细,即常用的记录明细。
2.GridView和DetailsView控件的布局固定,自定义数据显示的布局功能有限,一般适合布局简单的数据呈现。3.DataList,Repeater和FormView数据控件 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号