明明是编辑列的时候就排在前面的列,绑定DataSource就跑到最后面去了
解决方案 »
- 數據庫操作問題!急!急!級!急!
- C#对AUTOCAD二次开发插入图元的问题,求高手指点
- 请问邮件的附件的字符转化问题
- Parse Error, no assembly associated with Xml key a1.这回是什么原因造成的?
- 怎么把pictureBox1.image 中的图片转换成Byte[] 类型啊?
- 关于C#字段属性
- 为何在填充数据集前必须将约束设为FALSE,然后再设回来??
- Web中如何调用windows中的usercontrol
- 关于Int32的问题
- tjq_tang(重新开始) 请进
- 文本框窗体的高度是21,再也无法调底了,凡调到小于21,就自动又变成21,怎么办
- C/S下如何禁止同一个帐号同时登陆?
select yfdh,case ifrk when '0' then '' when '1' then '已入库' end RKZT,
case bdrq when '' then '' else '已报到' end BDZT,dj,djmc,jg,je,bzjs,bzzl,fbzjs,fbzzl,djhgl,jsy,ch,xl,keyno
from T_01_ZDYFD where crq>='2009-05-08' and crq<='2009-07-08'
绑定的时候,列的顺序是和你的数据源的顺序一样的
this.BD,
this.YFDH,
this.BDZT,
this.RKZT,
this.DJ,
this.DJMC,
this.JG,
this.JE,
this.BZJS,
this.BZZL,
this.FBZJS,
this.FBZZL,
this.DJHGL,
this.Column1,
this.Column2,
this.Column3,
this.keyno,
this.IFRK});string strSql =
"select yfdh,
case ifrk when '0' then '' when '1' then '已入库' end RKZT,
case bdrq when '' then '' else '已报到' end BDZT,dj,djmc,jg,je,bzjs,bzzl,fbzjs,fbzzl,djhgl,jsy,ch,xl,keyno
from T_01_ZDYFD where crq>='2009-05-08' and crq <='2009-07-08' ";DGV_YFDJ.DataSource = PEAS.Query(strSql);
谢谢楼上各位朋友的热心帮忙啦~~~