Wednesday, 25 March 2015

The project cannot be built until build path errors are resolved

While i m run a project in android i got the following error which is

Description Resource    Path    Location    Type
The project cannot be built until build path errors are resolved    Projectname
Unknown Java Problem
Unbound classpath container: 'JRE System Library [JavaSE-1.7]' in project 
'Projectname'   Projectname       Build path  Build Path Problem

For this we want to do the following
Right the Package Explorer and choose Build Path 

Saturday, 21 March 2015

SSMS Error: "A network-related or instance-specific error occurred while establishing a connection to SQL Server"

When you are trying to connect to a SQL Server using Microsoft SQL Server Management Studio, you may see the following message:
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 the SQL Server is configured to allow remote connections. (provided: Named Pipes Provider, error: 40- Could not open a connection to the SQL Server) (Microsoft SQL Server, Error: 2).


Friday, 20 March 2015

How to hide the header and first empty column in datagridview using c#

Here we are going to see how to hide the header of a "DATAGRIDVIEW" in a form. First when we bind a datagridivew its like this, with a header with the database column name.