With this method, your code constructs a SqlConnection object, sets the ConnectionString property, and uses the Open method to open a connection.

  • 利用这种方法,您的代码将构造一个SqlConnection对象,设置ConnectionString属性,然后使用Open方法来打开连接。
目录 查词历史