摘要: SqlConnection conn = new SqlConnection();conn.ConnectionString = "";conn.Open();SqlCommand cmd = new SqlCommand();cmd.Connection = conn; cmd.CommandText = "if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[user]') and OBJECTPROPERTY(id, N'IsUserTable 阅读全文
posted @ 2011-04-23 10:13 Black Bean 阅读(777) 评论(0) 推荐(0)