المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Ace OLE driver with Extended Properties



C# Programming
11-09-2011, 05:15 AM
To cut to the chase, our current connection string is:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties='Excel 12.0 Xml;HDR=YES;'
We really do not have the option of pushing a TypeGuessRows registry change to all users in order to force Excel to scan the whole column.

Can TypeGuessRows be given as an extended property to the ACE Provider?

Note: I know this isn't necessarily a C# specific question, but I'm writing in C# using an OleDbCommand, using the connectionString above.
"I need build Skynet. Plz send code"