I am trying to convert bitmap into icon. But there is some error as the resultant file is just blank.
private void btnCnvrtSave_Click(object sender, EventArgs e)
Also, this SO question links to how to convert an image to an icon, which may lead you in the right direction.
Notice, however, that the code as written needs to be modified to avoid a handle leak. But the solution is also linked in that question.