OK, I figured this out. When I installed VS.NET, I had omitted the option "Smart Device Programmability" under Visual C#. That means it didn't install the SQL Server Mobile stuff. (I thought I didn't need it because I wasn't actually programming smart devices.)
I re-ran the setup and added that option. Now, when I go into Add New Data Source and get to New Connection, by default it comes up with the Data Source "Microsoft SQL Server Mobile Edition (.NET Framework Data Provider for SQL Server CE)", which is apparently what I want. That has prompts for the database file and the password, and it works when I click OK. |