11
Microsoft Access has the TRANSFORM command (which does a pivot), so you could use ADO.NET to query a Microsoft Access MDB file, and then use passthrough queries there to get to the data source that can't pivot (usually SQLÂ Server/T-SQL). I did a proof of concept of this, and it worked. It was about 5000 LOC shorter than the VBScript implementation that did the pivot using arrays.
The usual disparaging remarks about Microsoft Access don't apply here, because you aren't actually storing data in Microsoft Access.