title: How Can Access Label In Repeater
body: <p>im try to access label in repeater to get value and set another value in same label </p>
  
  <pre><code>  &lt;ul class="mail-list"&gt;
                                          &lt;asp:Repeater ID="repMsg" runat="server" DataSourceID="EDSrepMSg"&gt;
  
                                              &lt;ItemTemplate&gt;
                                                  &lt;li&gt;
                                                      &lt;asp:LinkButton ID="lnkMsgDisplay" runat="server" CausesValidation="false" CommandName="Display_Msg" CommandArgument='&lt;%# Bind("message_id") %&gt;'&gt;
                                                          &lt;span class="mail-sender"&gt;
                                                              &lt;asp:Label ID="lblEmail" runat="server" Text='&lt;%#Eval("message_from") %&gt;'&gt;&lt;/asp:Label&gt;&lt;/span&gt;
                                                          &lt;span class="mail-subject"&gt;
                                                              &lt;asp:Label ID="lblSubject" runat="server" Text='&lt;%#Eval("message_title") %&gt;'&gt;&lt;/asp:Label&gt;&lt;/span&gt;
                                                          &lt;span class="mail-message-preview"&gt;
                                                              &lt;asp:Label ID="lblMsg" runat="server" Text='&lt;%#If (Eval("message_description").ToString.Length &gt; 10,Eval("message_description").ToString.Substring(0,10).TrimEnd() &amp; "..",Eval("message_description"))%&gt;'&gt;&lt;/asp:Label&gt;&lt;/span&gt;
  
                                                      &lt;/asp:LinkButton&gt;
  
                                                  &lt;/li&gt;
                                              &lt;/ItemTemplate&gt;
                                          &lt;/asp:Repeater&gt;
                                          &lt;asp:EntityDataSource ID="EDSrepMSg" runat="server" ConnectionString="name=BWJO_dbEntities" DefaultContainerName="BWJO_dbEntities" EnableFlattening="False" EntitySetName="tbl_message"
                                              Where="it.message_to=@message_to and it.message_type=2 or it.message_type=4 " OrderBy="it.message_date desc"&gt;
                                              &lt;WhereParameters&gt;
                                                  &lt;asp:SessionParameter SessionField="user_id" Name="message_to" Type="Int32" DefaultValue="0" /&gt;
  
                                              &lt;/WhereParameters&gt;
  
                                          &lt;/asp:EntityDataSource&gt;
  </code></pre>
  
  <h2>The output:</h2>
  
  <p><a href="https://i.stack.imgur.com/XFGKD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XFGKD.png" alt="enter image description here"></a></p>
  
  <h2>Note:</h2>
  
  <blockquote>
    <p>Theres no relationship btween tbl_msg,tbl_user,tbl_emp</p>
  </blockquote>
  
  <p>i want just to know how to get value from </p>
  
  <pre><code>&lt;asp:Label ID="lblEmail" runat="server" Text='&lt;%#Eval("message_from") %&gt;'&gt;&lt;/asp:Label&gt;
  </code></pre>
  
  <p>then set value into lblEmail(Edit Label)</p>