To find the size (Height and Width) of the computer screen write the followingcode
Rectangle resolution = Screen.PrimaryScreen.Bounds;
int height = resolution.Size.Height;
int width = resolution.Size.Width;
DELETE TOP (SELECT COUNT(*) -1 FROM dbo.Emptest WHERE EmpID = 'Basharat') FROM dbo.Emptest WHERE EmpID = 'Basharat'