Here its the PValue i need in my Label, if the label is inside the repeater i get an error:
Public Sub linqdb() Dim DBconn As New GetProductListDataContext() Dim Q = _ From p In DBconn.GetTable(Of Product)() _ Where p.IsEnabled = "1" _ Order By p.PName Descending _ Select p MyRep.DataSource = Q MyRep.DataBind() PValue.Text = Q.ToList.Count() End Sub
<span id="" class="">Ialt <asp:label id="PValue" runat="server"/> Produkter</span>
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.