Monday, 13 April 2015

Windows 7 & 8 - Black Screen With Cursor at Start-up FIX

If the Operating System (Windows 7 or 8) load correctly but shows only a black screen with a cursor, this video may be helpful to you to solve your problem


Thanks Youtube

Monday, 6 April 2015

DataGridView changing cell background color

To change the cell background color in a Datagridview in a windows application we want to use the following
we have a datagridview with an Id of "dgvStatus".
First bind the datagridview while binding use the following code to change the cell backgroundcolor

//background color of cells

dgvStatus.DefaultCellStyle.BackColor = Color.FromArgb(255, 192, 128);

//dgvStatus.DefaultCellStyle.BackColor = Color.FromArgb(value of Red, value of Green, value of Blue);





Thanks Stackoverflow

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.