摘要:
Databasedb=null;#region一般调用db=DatabaseFactory.CreateDatabase("ConnectionString");intcount=(int)db.ExecuteScalar(CommandType.Text,"SELECTCount(*)Fromcms_company");stringmessage=string.Format("Thereare{0}customersinthedatabase",count.ToString());Response.Write(message);#e 阅读全文