Member kell = new Member(Member.Sex.Male, Member.Nation.China, "kell");
string QuerySQL = "select memberID from CsharpClub_DataBase where MemberName = '王杰'";
DataConnection conn = new DataConnection(ConnectionString);
DataEngine de = new DataEngine(QuerySQL, conn);
conn.Open();
int memberID = Convert.ToInt32(de.Result[0]);
Member wangjie = new Member(memberID);
if (CsharpClub.IsInclude(wangjie))
{
kell.Join(CsharpClub);
kell.StudyToMember(wangjie);
kell.Up(wangjie);
}
de.Dispose();
conn.Close();