码迷,mamicode.com
首页 > 其他好文 > 详细

排球计分程序之作业

时间:2017-03-17 22:21:23      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:rtm   private   get   http   turn   tar   oda   event   sel   

每一次比分的改变都要记录直接得分选手或发球失分选手,以及两队的当时比分,故四个数据。
第几球,得分队伍,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 = "";
}

 技术分享

排球计分程序之作业

标签:rtm   private   get   http   turn   tar   oda   event   sel   

原文地址:http://www.cnblogs.com/hslym-1202B/p/6568891.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!