在c#中我正在使用此代码:
using (SqlConnection sqlConnection = new SqlConnection(Utilities.ConnectionString))
{
//code here
}
什么是等效的vb语法? TIA!
答案 0 :(得分:0)
试试这段代码:
Using sqlConnection As SqlConnection = New SqlConnection(Utilities.ConnectionString)
End Using