摘要: 在Oracle中做关联更新比在Sql Server麻烦很多,关联两表更新,非得这样不可,着实有点郁闷... Update t_Gd_Warebaseset WareQty = (select sum(B.QtyKY) From t_Gd_Warebase A,T_GD_WareDeta Bwhere A.MateNo = B.MateNo and A.WareType = B.WareTy... 阅读全文
posted @ 2007-05-14 12:41 tohen 阅读(876) 评论(4) 推荐(0) 编辑
摘要: 有的时候我们需要(1)在编辑的时候用下拉框选择,并且默认为数据库的内容(2)使用下拉框过滤数据(3)使用css统一定制DataGrid下面给出代码:数据结构:表dep:depid(标识主键),depname(学院名字)表stu:stuid(标识主键),stuname(学生名字),studepid(学院id=表dep.depid) create table dep(depid int not nul... 阅读全文
posted @ 2007-05-14 09:45 tohen 阅读(454) 评论(0) 推荐(0) 编辑