Connect to MS Access using Razor

Hi All

I’m trying to get my head around Razor. I’m using Webmatrix. I need to be able to connect to an MS Access database without using a system DNS. Can someone show me the code I need. I’ve been searching the net and there is very little about it.

Cheers

Depends on version. You’ll want to use the OleDb .NET options from either here or [URL=“http://connectionstrings.com/access”]here depending on access version.