摘要:
OledbCommand mcd=new OleDbCommand()mcd.CommandText="insert into datatab(.....)value(....)+";SELECT SCOPE_IDENTITY()";string pid=mcd.ExecuteScalar().ToString();//添加配偶并返回刚添加的ID 阅读全文
posted @ 2005-09-14 15:36 刹那间我存在 阅读(974) 评论(0) 推荐(0) 编辑