I am encountering an error while running C# application that containing SQL Server Database, the problem is that the moment i press start button my database connection failed, and a red cross appears near the database icon "as illustrated in the posted image", and this cross disappeared when i rebuild the solution.
can any one help me
SqlConnection Con = new SqlConnection("Server=local;Database=Books;integrated Security=True");
SqlDataAdapter Da;
DataTable Dt = new DataTable();
Da = new SqlDataAdapter(" Select * From Sadera", Con);
Da.Fill(Dt);
saderaDataGridView.DataSource = Dt;