操作给出错误的结果

编程入门 行业动态 更新时间:2024-10-23 07:33:17
本文介绍了操作给出错误的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好,

操作提供的结果不正确,真相是什么?

Operation gives incorrect result,what is the truth?

你能帮助我。

SqlDataSource1.SelectCommand = "select s1.marka,s1.renkkodu,s1.renkadi, " + "SUM(case when s1.yontem = 'g' then s1.kilo else 0 end) - SUM(case when s1.yontem = 'c' then s1.kilo else 0 end) as kilo" + " from byh_boya_kalan_tbl s1" + " group by s1.marka,s1.renkkodu,s1.renkadi order by s1.renkadi";

推荐答案

这就是你所谓的"操作"什么都不做。

This, what you call an operation" does nothing.

它可以是dataadapter的一部分,但是正常,因为DataAdapter需要一个select,以及一个无法制作的Update,Insert和Delete operationg字符串使用这种SQL语句。

It can be a part of a dataadapter, but normal for that because a DataAdapter needs beside a select as well an Update,Insert and Delete operationg string that cannot be made with this kind of SQL statements.

更多推荐

操作给出错误的结果

本文发布于:2023-10-28 01:17:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1535074.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   操作

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!