高分求取解决方法 ,关于足球经理游戏 select a.worth-b.m from player a,soccer b where a.playerid=b.playerid 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 同上,应该使用sql来处理这个问题! select isnull(a.worth,0)-isnull(b.m,0) from player a,soccer b where a.playerid=b.playerid 就是说现在datagrid已经显示出来了 我要将里面的worth与另一个查询结果比较 这个worth怎么获得 另一个查询结果怎么获得在后台比较 foreach(DataGridItem Item in DataGrid1.Items){ if(Item.ItemType==ListItemType.Item || Item.ItemType==ListItemType.AlternatingItem){ M=Convert.ToDouble(sleItem.Cells[0].Text); Sql="select isnull(m,0)-"+M+" from soccer where playerid="+int.parse(DataGrid1.DataKeys[Item.ItemIndex]); ...; sqlCommand.ExecuteScalar();}} 你也可以在dataset中获取你要的数据,dataset.table(0).rows(i).cells(j)获得某一字段的值 关于HTML5与WEBSOCKET通讯的问题C# 最后一点分,请教一个.NET的问题 MainMenu 动态添加 高价收目前中国流行的垂直搜索(如果有酷讯/800so/kaitoo更好!价格在7位数以上) 请问一下vb里面的,Application("Current")(i)在c#里面怎么写 求恢复!!! 关于msn聊天记录误删除用软件恢复后 xml打开乱码问题 程序运行过程中出现这个提示,然后就退出了,怎么回事啊?? winform问题,散分!80 请教datagridtextboxcolumn的问题? 急!!请帮帮我 求超难sql语句一条 动态调用类时,怎样调用基类的方法和属性
在后台比较
{
if(Item.ItemType==ListItemType.Item || Item.ItemType==ListItemType.AlternatingItem)
{
M=Convert.ToDouble(sleItem.Cells[0].Text);
Sql="select isnull(m,0)-"+M+" from soccer where playerid="+int.parse(DataGrid1.DataKeys[Item.ItemIndex]);
...;
sqlCommand.ExecuteScalar();
}
}