Find the total number of times the digit ‘$2$’ appears in the set of integers $\{1,2,..,1000\}$. For example, the digit ’$2$’ appears twice in the integer $229$.
1. **Counting the digit '2' in the ones place:**
   - Consider the numbers from 1 to 1000. For every block of 10 numbers (e.g., 0-9, 10-19, 20-29, ..., 990-999), the digit '2' appears exactly once in the ones place.
   - There are 100 such blocks in the range from 1 to 1000.
   - Therefore, the digit '2' appears \(100\) times in the ones place.

2. **Counting the digit '2' in the tens place:**
   - Similarly, for every block of 100 numbers (e.g., 0-99, 100-199, 200-299, ..., 900-999), the digit '2' appears exactly 10 times in the tens place (e.g., 20-29, 120-129, 220-229, ..., 920-929).
   - There are 10 such blocks in the range from 1 to 1000.
   - Therefore, the digit '2' appears \(10 \times 10 = 100\) times in the tens place.

3. **Counting the digit '2' in the hundreds place:**
   - For every block of 1000 numbers (e.g., 0-999, 1000-1999), the digit '2' appears exactly 100 times in the hundreds place (e.g., 200-299).
   - There is 1 such block in the range from 1 to 1000.
   - Therefore, the digit '2' appears \(100\) times in the hundreds place.

4. **Counting the digit '2' in the thousands place:**
   - The number 1000 does not contain the digit '2' in the thousands place.
   - Therefore, the digit '2' appears \(0\) times in the thousands place.

5. **Summing up all occurrences:**
   - The total number of times the digit '2' appears in the set of integers \(\{1, 2, \ldots, 1000\}\) is:
   \[
   100 \text{ (ones place)} + 100 \text{ (tens place)} + 100 \text{ (hundreds place)} = 300
   \]

The final answer is \(\boxed{300}\)