问题描述
publicDataSetSearchTemp(){varsqltext=string.Format(@"selecttop00[I1],--产品I0[I2],0[I3],0[I4],0[I5],0[I6],''[V1]--批号,''[V2]--单位,''[V3],''[V4],''[V5],''[V6],0.00[D1],--数量0.00[D2],0.00[D3],0.00[D4],0.00[D5],0.00[D6],getdate()[DT1],getdate()[DT2],getdate()[DT3]from[dbo].[SYS_COMPANY]");returnSqlService.Search(sqltext);}
解决方案
解决方案二:
全都是自定义的列名,想要干啥呢是在……搞出来一个空的结果集然后手动添加内容么==
解决方案三:
别的SQL语句都写出来了,这是最后写的代码。不懂什么意思。最好每一部分的作用给我说一下,谢啦!
时间: 2025-01-26 22:59:46