vc实现通过树访问数据库,剩下的为凑够20字,数据库表为if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TreeItem]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TreeItem] GO CREATE TABLE [dbo].[TreeItem] ( [ID] [int] NULL , [Name] [char] (10) COLLATE Chinese_PRC_CI_AS NULL , [ParentIt