Format a label in a gridview to hide first 5 digits of a social security number
<p>I have a data-bound label inside a template field of a griview that displays Social Security Numbers. It currently shows the SSN's as such, 123-45-6789. I need to hide the first 5 digits so it show's like ###-##-6789. Does anyone have an example of how I might accomplish this. </p>

<p>Here is the mark-up for the template fied:</p>

<pre><code>    &lt;asp:TemplateField HeaderText="Social Security Number" SortExpression="SSN"&gt;
         &lt;ItemTemplate&gt;
              &lt;asp:Label ID="lblSSN" runat="server" Text='&lt;%# Bind("SSN") %&gt;'&gt;&lt;/asp:Label&gt;
         &lt;/ItemTemplate&gt;
    &lt;/asp:TemplateField&gt;
</code></pre>

<p>Code block that adds decrypted SSN to grid:</p>

<pre><code>    table.Columns.Add("SSN");
            foreach (DataRow row in table.Rows)
            {
                row["SSN"] = DecryptSSN(row["EncryptedSSN"].ToString());                   
                row.AcceptChanges();
            }
</code></pre>

<p>I'm new to programming so any help would be greatly appreciated.</p>
