title: show last 4 digits in gridview
body: <p>I have an asp.net gridview and a column that has digits e.g. 1234567, I want to show the last 4 digits like so xxx4567. Is this possible.</p>
  
  <p>I am binding my gridview to a list of objects as below:</p>
  
  <pre><code>List&lt;Details&gt; objdet = Manager.Get_Details(ID);
  
               if (objdet!= null)
               {
  
                   gvDetails.DataSource = objdet;
                   gvDetails.DataBind();
               }
  </code></pre>
  
  <p>and in my grid i have this:</p>
  
  <pre><code> &lt;asp:GridView ID="gvDetails" runat="server" AllowPaging ="true" 
                  AllowSorting ="true" AutoGenerateColumns="false" GridLines="None" CssClass="mGrid"&gt;
                  &lt;Columns&gt;
                  &lt;asp:BoundField DataField="DetNumber" HeaderText="Number" ReadOnly="true" /&gt;
  &lt;/Columns&gt;
              &lt;/asp:GridView&gt;
  </code></pre>