首页 > 代码库 > 排球计分程序之作业

排球计分程序之作业

每一次比分的改变都要记录直接得分选手或发球失分选手,以及两队的当时比分,故四个数据。
第几球,得分队伍,A队得分,B队得分,得分选手用号码,得分方式,失分选手,时间

namespace BLL
{

public class MembersBll
{
MembersDAL membersdal = new MembersDAL();

public bool InsertMembersBll(Members m)
{
return membersdal.InsertMemberDal(m) > 0;
}

public List<string> GetTeamBNameBll(string s)
{
List<string> teamBList = membersdal.GetTeamBName(s);
return teamBList;
}

public List<string> GetTeamMembers(string tname, string mname = null)
{
List<string> teamMemberList = membersdal.GetTeamMembers(tname,mname);
return teamMemberList;
}
}
}

 

namespace BLL
{
public class GetOtherDataBll
{
GetOtherDataDAL getdata = http://www.mamicode.com/new GetOtherDataDAL();

public DataTable SelectInfoBll(string team, string member)
{
return getdata.SelectInfoDal(team,member);
}
}
}

private void btnClear_Click(object sender, EventArgs e)
{
txtMName.Text = "";
txtNumber.Text = "";
txtPosition.Text = "";
txtWeight.Text = "";
txtHeight.Text = "";
txtNickName.Text = "";
txtStrength.Text = "";
}

 技术分享

排球计分程序之作业