Control using System;
Using Com.joybase.DB;
Using Com.oztime.WorkShop.CodeBase;
Namespace Com.oztime.WorkShop.CodeBase.DB
{
<summary>
Summary description for Dbuser.
</summary>
public class Dbuser:user
{
private int M_userid;
private string M_username;
private string M_password;
Private Sex M_usersex;
private string M_useremail;
private string M_usertitle;
Public Dbuser (String p_username)
{
This.m_useremail=p_username;
This. Loadfromdb (0);
}
Else
{
throw new Exception ("Error to Read userinfo!");
}
Dr. Close ();
}
Catch
{
throw new Exception ("Error when load user ' s Info");
}
}
public int UserID
{
Get
{
return This.m_userid;
}
Set
{
This.m_userid=value;
}
}
public string UserName
{
Get
{
return this.m_username;
}
Set
{
This.m_username=value;
}
}
public string Password
{
Get
{
return This.m_password;
}
Set
{
This.m_password=value;
}
}
Public Sex Usersex
{
Get
{
return this.m_usersex;
}
Set
{
This.m_usersex=value;
}
}
public string UserEmail
{
Get
{
return this.m_useremail;
}
Set
{
This.m_useremail=value;
}
}
public string Usertitle
{
Get
{
return this.m_usertitle;
}
Set
{
This.m_usertitle=value;
}
}
Public System.Collections.ArrayList Getmycourse ()
{
System.Collections.ArrayList Result=null;
return result;
}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.