- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
private AseConnection con;
public void CloseConnection()
{
if (this.con != null && this.con.State == ConnectionState.Open)
{
CloseConnection(this.con);
}
}
public void CloseConnection(AseConnection con)
{
if (con == null)
return;
if (con.State == ConnectionState.Closed)
return;
con.Close();
}
Комментарии (4) RSS
Добавить комментарий