TaTMiNG@HK
2006-06-22 16:31:35 UTC
€£ªŸ¬O§_MSSQL Readerªº€£ŠP,
«Ü©_©Ç
±¡ªp¬O
§ÚŠb€@ÓSub,Š³»ÝnŠP®ÉŠ³ŽXÓSELECT Command ©MDataReader (ŠpMyReader)
·í§Ú¹BŠæ§¹Command1ªºMyReader1 ®É,ŠpªG±µµÛ¹B¥Î¥t€@ÓCommand2ªºMyReader2®É,·|¥X²{Error°T®§.
ŠýŠpªG§Ú¥ý§âMyReader1.Close, «h¥i¹B§@¥¿±`.
§Ú°O±ošÏ¥ÎOLEDB Data Reader©MMySQL Data Reader®É
§ÚºD©Ê¬O³Ì«á€~€@Šž¹L§â©ÒŠ³Connection.Close, MyReader.Close ªº
³o¬O€£¬O.NET Framework 2.0©M1.1ªº€£ŠP?
--
«Ü©_©Ç
±¡ªp¬O
§ÚŠb€@ÓSub,Š³»ÝnŠP®ÉŠ³ŽXÓSELECT Command ©MDataReader (ŠpMyReader)
·í§Ú¹BŠæ§¹Command1ªºMyReader1 ®É,ŠpªG±µµÛ¹B¥Î¥t€@ÓCommand2ªºMyReader2®É,·|¥X²{Error°T®§.
ŠýŠpªG§Ú¥ý§âMyReader1.Close, «h¥i¹B§@¥¿±`.
§Ú°O±ošÏ¥ÎOLEDB Data Reader©MMySQL Data Reader®É
§ÚºD©Ê¬O³Ì«á€~€@Šž¹L§â©ÒŠ³Connection.Close, MyReader.Close ªº
³o¬O€£¬O.NET Framework 2.0©M1.1ªº€£ŠP?
--