title: How to get the value of the last element of property in repeater
body: <pre><code>     &lt;asp:Repeater ID="ReptServices" runat="server" OnItemDataBound="ReptServices_OnItemDataBound"&gt;
                        &lt;b&gt;
                    &lt;td&gt;    &lt;%# Eval("ApplicationSteps") %&gt;&lt;/td&gt;
                       &lt;td&gt;&lt;%# Eval("Service.ServiceName") %&gt;&lt;/td&gt;
                              &lt;td&gt;
                                  &lt;b&gt;&lt;%# Eval("BeneficiaryUserUnitJob.User.NameAr") %&gt;  &lt;/b&gt;
                              &lt;/td&gt;
                              &lt;td&gt;&lt;%# Eval("DateCreated") %&gt;&lt;/td&gt;
                        &lt;/b&gt;
         &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>this repeater filled in c# as </p>
  
  <pre><code>ReptServices.DataSource = new ApplicationLogic(ApplicationType.Web).GetAllOutboxApplication(_currentUserUnitJob);
  </code></pre>
  
  <p>"ApplicationSteps"property contains many elements,which contains another property called <code>submitactiontypeid</code> as this image shows:</p>
  
  <p><a href="https://i.stack.imgur.com/My1f3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/My1f3.jpg" alt="enter image description here"></a></p>
  
  <p>I want to get the value of <code>submitactiontypeid</code> which exist in the last elment of <code>ApplicationSteps</code></p>
  
  <p>I asked what I shall write in  <code>&lt;%# Eval("ApplicationSteps") %&gt;</code></p>