Wherever Rob has used "Sql", you would use "OleDb". You would also need to import the System.Data.OleDb namespace, where for Rob's code you would import SqlClient. You'll have to change the connection string for OleDb as well. Try www.connectionstrings.com




Reply With Quote