What does “Data Source cannot be empty. Use :memory: to open an in-memory database” mean?

后端 未结 4 2071
野趣味
野趣味 2021-01-17 12:15

I recently converted my SQL Server database into SQLite DB. But when I try to open my SQLite using .Open() it throws me this error:

Data Source          


        
4条回答
  •  盖世英雄少女心
    2021-01-17 12:31

    Because your Data Source is empty. Add the Data Source paramater to your connection string. before opening the Sqlite database.

提交回复
热议问题