温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:VS2005典型实例源码大全(C#)
当前文件:
VS2005Helper/Web/App_Code/CustomProfile.cs,打开代码结构图
VS2005Helper/Web/App_Code/CustomProfile.cs,打开代码结构图1using System; 2
using System.Data; 3
using System.Configuration; 4
using System.Web; 5
using System.Web.Security; 6
using System.Web.UI; 7
using System.Web.UI.WebControls; 8
using System.Web.UI.WebControls.WebParts; 9
using System.Web.UI.HtmlControls; 10
11
using System.Web.Profile; 12
13
/// <summary> 14
/// CustomProfile 的摘要说明 15
/// </summary> 16
public class CustomProfile : ProfileBase 17
{ 18
private string _customName; 19
20
public string CustomName 21
{ 22
get { return _customName; } 23
set { _customName = value; } 24
} 25
26
private bool _customSex; 27
28
public bool CustomSex 29
{ 30
get { return _customSex; } 31
set { _customSex = value; } 32
} 33
} 34







}