you cannot have two datareaders running at the same time, either use another connection or close the current reader and open anotherby the way, suggest you use a query like select * from table1; select * from table2then use datareader's NextResult method to retrieve other recordsets
定义另外的cmd名字,提示的错误信息相同的!
“ saucer(思归, MS .NET MVP)”你的方法,无法实现我的需求,不过挺好的,以后还的向你多多学习!
select * from table1; select * from table2then use datareader's NextResult method to retrieve other recordsets