Initial Catalog就是数据库名,你也可以写:database=client; client就是你要连接的数据库喽。
Persist Security Info嘛,哎,我就直接从MSDN抄了:
P
ersist Security InfoDefault Value: FalseWhen set to false or no (strongly recommended), security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state. Resetting the connection string resets all connection string values including the password. Recognized values are true, false, yes, and no.
Persist Security Info嘛,哎,我就直接从MSDN抄了:
P
ersist Security InfoDefault Value: FalseWhen set to false or no (strongly recommended), security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state. Resetting the connection string resets all connection string values including the password. Recognized values are true, false, yes, and no.
是不是说
当连接是开的时候 密码或其他的一些信息是开放的
没太看明白
那 database和datasource有什么区别呢?
AspNetPager免费分页控件:http://www.webdiyer.com