摘要:
例如 SELECT *,(select name from 表B where id=表a.id) FROM 表A 通过TDatasetProvider生成语句更新表A,运行applyUpdate更新表a,会出现无效字段名错误,通过profile跟踪发现生成的更新表是表b, 解决办法是去掉表b的语句, 阅读全文
摘要:
Delphi示例 Format('Insert into 表1(单元科室,项目,期间,值) select 单元科室=''%S'' ,项目=''%S'',期间=''%S'',值=''%S'' '+ ' where Not Exists(select 1 from 表1 where 单元科室=''%S' 阅读全文
摘要:
String s = String.Format("select * from Price_ItemDepts where FeeDeptID={0}{1}{2}", $"'{deptID}'", string.IsNullOrEmpty(categoryID) ? "" : $" and 项目编码 阅读全文
摘要:
示例 @Html.DropDownList("ComeFrom", new List<SelectListItem>() { new SelectListItem() { Value = "所有", Text = "所有" }, new SelectListItem() { Value = "城投" 阅读全文