سلام خیلی ممنونم از جوابتون . ولی من فقط می خوام بدونم که چرا اول میومد ولی حالا نمیاد . اون کارای که شما گفتید رو کردم نتیجه نداد. وقتی هم بصورت دستی نام سرور رو وارد میکنم . این ارور رو در زمان اجرای برنامه میده.
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: 26 - Error Locating Server/Instance Specified)