data source 意思就是数据资源。也就是说你这里用的数据库地址是什么。。。server.mappath(database) DATABASE就是你的数据库相对地址。然后使用server.mappath把它转化一下,取得绝对地址。。。