排球计分程序之作业
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了排球计分程序之作业相关的知识,希望对你有一定的参考价值。
每一次比分的改变都要记录直接得分选手或发球失分选手,以及两队的当时比分,故四个数据。
第几球,得分队伍,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 = 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 = "";
}
以上是关于排球计分程序之作业的主要内容,如果未能解决你的问题,请参考以下文章