誰かが、C#プログラミングでローカルにデータを保存するために使用するデータベースタイプを教えていただけますか?私はそれはあなたがローカルそれを実行するために、他のPCにSQL Serverをインストールする必要がC#のクライアントPC上で動作するように、アプリケーションとデータベースファイルを接続する方法は?
Could not connect to SQL Server Client
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
(provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
他のコンピュータにもSQL Serverをインストールする必要があります – Pedro
また、インストールに接続文字列を設定する必要があります。 –
SQL Serverデータベースを使用する場合は、他のPCにSQL Serverをインストールするか、アクセスのような別のDBを使用することができます。 – Sami