In Gridview I would like to use check Box If condtion is true other wise Label with Text
<%# (If (Eval("submitCd"))=0 Then) %>
<asp:CheckBox ID="chkStatus" runat="server" />
<%# else %>
<asp:Label ID="lblStatus" runat="server" Text="Submitted" />
<%#end if) %>
SubmitCd is a database field, when user submit his Timesheet the value is updated as 1, so on when Approver Approve SubmitCd value updated to 3, accordingly I would like change the LblStatus Text.
If he did not submit, there should be checkbox, by which user can checked and click submit button to submit.
I already this in ASP but dont know how to do in ASP.Net.