Check your name Data source: .\SQLSERVER2012.
it’s will:
Data Source=.\SQLSERVER2012;Initial Catalog=box;Persist Security Info=True;User ID=basimbox;Password=f1977
More Related Contents:
- Conversion of a datetime2 data type to a datetime data type results out-of-range value
- How to directly execute SQL query in C#?
- How do I return multiple result sets with SqlCommand?
- Visual Studio: ContextSwitchDeadlock
- Query extremely slow in code but fast in SSMS
- How to connect to SQL server database from a Windows 10 UWP app
- ExecuteNonQuery for SELECT sql statement returning no rows
- SqlDataSourceEnumerator.Instance.GetDataSources() does not locate local SQL server 2008 instance
- SQLException : String or binary data would be truncated
- SSIS Task for inconsistent column count import?
- Entity-framework code is slow when using Include() many times
- Creating a SQL Server table from a C# datatable
- SQL: Update a row and returning a column value with 1 query
- Is there an Entity Framework 7 Database-First POCO Generator?
- Invalid column name sql error
- Retrieve image from database in asp.net
- Entity Framework | Sequence contains more than one matching element
- When is it better to store flags as a bitmask rather than using an associative table?
- Keyword Not Supported: Metadata
- Why is EF generating SQL queries with unnecessary null-checks?
- Know when to retry or fail when calling SQL Server from C#?
- What’s the best way to bulk database inserts from c#?
- How to insert data into SQL Server
- SQL Server Database Change Listener C#
- “The operation is not valid for the state of the transaction” error and transaction scope
- How do I safely store database login and password in a C# application?
- Passing array to a SQL Server Stored Procedure
- Bulk Insert Sql Server millions of record
- Loading PictureBox Image From Database
- EF Core takes a lot of time, sometimes, to perform SELECT query