Code: Select all
PgSqlConnection.Open()
which is the properly ways below?
1.set old PgSqlConnection object to null
,create the new PgSqlConnection object then call Open function
2.without create new object,just call Open again
3.without create new object,call Close then call Open