F5기능 refresh 자바스크립트 소스
SqlConnection conn = null; SqlCommand delcomm = null; int count = 0; using (conn = new SqlConnection(connstr)) { if (conn.State == ConnectionState.Closed) { conn.Open(); } delcomm = new SqlCommand(DelCmt, conn); delcomm.Parameters.AddWithValue("@id", this.hdnCid.Value.Trim()); count = delcomm.ExecuteNonQuery(); if (conn.State == ConnectionState.Open) { conn.Close(); } } if (count > 0) { //자기자신이 ..
ASP.NET
2007. 8. 10. 18:28