Code:
public void remTempData()
{
string delete = "DELETE * FROM login";
SqlCommand rMove = new SqlCommand();
rMove.Connection = access;
rMove.CommandType = CommandType.Text;
rMove.CommandText = delete;
rMove.ExecuteNonQuery();