To use DbProviderFactory in compact framework 3.5 RRS feed

  • Question

  • Hello,

    I'm using vs2008 and I want to do an aplication for Windows CE5

    I import the system.data.common without problem in my smart device project, but when I want to asociate with the factory like that:
    Private factory As DbProviderFactory = DbProviderFactories.GetFactory("System.Data.SqlClient")
    It give this error:

    'DbProviderFactories' not declared

    ¿Or is another form to do this?

    Thursday, November 26, 2009 2:00 AM