我以前都是使用第一种的:)
但看了transaction的属性后,有点怀疑:
LogID String The name or ID of the user who will log on to the server.
LogPass String The password that will be used to log on to the server.
UserID String The name or ID of the user who will connect to the database.
DBPass String The password that will be used to connect to the database.