我们在经典的 asp 应用程序中托管了一些 aspx 页面。这些 aspx 页面使用手动代码来构建数据源。有没有办法为此使用 ObjectDataSource ?
尝试它会出现错误:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The element 'buildProviders' cannot be defined below the application level.
请注意,asp 经典站点作为 IIS 下的虚拟目录托管。