| 发表于:2007-01-19 12:35:422楼 得分:7 |
insert into a (documentid , .....) values (ident_current(b)+1 , ......) myparameter = new sqlparameter( "@documentid " , ......); myparameter.value = ?;(這里怎麼寫呢?ident_current(b)+1) 你要这个参数干什么?不是都在sql语句中吗? insert into a(documentid , .....) values (@documentid ) 这个时候才要这个参数。昏倒。 | | |
|