2
I’m 10 days into my new job, and I’m having some difficulties - which is normal, depending on the difficulty.
I have a Table inside a Repeater, which is powered by a Procedure.
Like I do with Debug, to find the Procedure running through that line?
<asp:HiddenField ID="hdfCdTipoUsuario" runat="server" Value='<%# Eval("CdTipoUsuario")%>' />
That’s all the Peater and the table:
<asp:Repeater ID="rptGerenciaProcessos" runat="server"
onitemcommand="rptGerenciaProcessos_ItemCommand"
onitemdatabound="rptGerenciaProcessos_ItemDataBound">
<HeaderTemplate>
<table id="gerenciaProcessos">
<thead>
<tr>
<th>Consultar processo</th>
<th>Priorizar</th>
<th>Priorizado</th>
<th>Nº do processo</th>
<th>Data de abertura</th>
<th>Início da análise</th>
<th>Término na análise</th>
<th>Situação</th>
<th>Grupo</th>
<th>Cota</th>
<th>Etapa</th>
<th>Analista</th>
</tr>
</thead>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<asp:Button ID="btnConsultarProcessos" OnClick="btnConsultarProcessos_Click" runat="server" Text="Consultar processo" CommandName="ConsultaProcessoGestor" CssClass="acessos" />
</td>
<td>
<asp:HiddenField ID="hdfCdProcesso" runat="server" Value='<%# Eval("CdProcesso")%>'/>
<asp:HiddenField ID="hdfCdAnalise" runat="server" Value='<%# Eval("CdAnalise")%>' />
<asp:HiddenField ID="hdfCdUsuario" runat="server" Value='<%# Eval("CdUsuarioAn")%>' />
<asp:HiddenField ID="hdfCdWorkFlowItem" runat="server" Value='<%# Eval("CdWorkFlowItem")%>' />
<asp:HiddenField ID="hdfCdTipoUsuario" runat="server" Value='<%# Eval("CdTipoUsuario")%>' />
<asp:LinkButton ID="lkbPriorizar" runat="server" CssClass="clickPriorizar">Priorizar</asp:LinkButton>
<!--<a href="#"class="clickPriorizar">Priorizar</a>-->
</td>
<td><input type="checkbox" id="ckbPriorizado" <%# Eval("IcPriorizado")%> disabled></td>
<td><asp:Label Text='<%# Eval("CdProcesso")%>' runat="server" /></td>
<td><asp:Label Text='<%# Eval("DtCriacao")%>' runat="server" /></td>
<td><asp:Label Text='<%# Eval("DtInicio")%>' runat="server" /></td>
<td><asp:Label Text='<%# Eval("DtFim")%>' runat="server" /></td>
<td><asp:Label Text='<%# Eval("NmWorkFlowItem")%>' runat="server" /></td>
<td><asp:Label Text='<%# Eval("CdGrupo")%>' runat="server" /></td>
<td><asp:Label Text='<%# Eval("CdCota")%>' runat="server" /></td>
<td><asp:Label Text='<%# Eval("NmTipoStatus")%>' runat="server" /></td>
<td><asp:Label Text='<%# Eval("NomeUsuario")%>' runat="server" /></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
The difficulty is in knowing how I debug the line ...Eval("Meu_Campo")...