I have a gridview to display work days of the week. Each record as 4 fields for used to collect time values. I have a function that can automatically determine number of hours that an individual worked based on the entries they make. I use a template item in the gridview and call a function like so:
<asp:Label ID="Label5" Text = '<%#Get_Travel_Hours(Eval("StartTime"), Eval("StoreArrival"), Eval("StoreDepart"), Eval("EndofDay")) %>' runat="Server" />--%>
What I need to know is how to skip this code if any of the 4 fields are empty.