Question : asp.net - Is there anyway that you can detect that a label evals to nothing and trigger an event  to alert the user that they need do something.

Is there anyway that you can detect that a label evals to nothing and trigger an event  to alert the user that they need do something.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
<asp:Label ID="Label1" runat="server" Font-Names="arial" 
                Font-Size="XX-Small" Text='<%# Eval("id1") %>'></asp:Label>&nbsp;
                <asp:Label ID="Label2" runat="server" Font-Names="arial" 
                Font-Size="XX-Small" Text='<%# Eval("id2") %>'></asp:Label>&nbsp;
                <asp:Label ID="Label3" runat="server" Font-Names="arial" 
                Font-Size="XX-Small" Text='<%# Eval("id3") %>'></asp:Label>&nbsp;
                <asp:Label ID="Label4" runat="server" Font-Names="arial" 
                Font-Size="XX-Small" Text='<%# Eval("id4") %>'></asp:Label>&nbsp;
                <asp:Label ID="Label5" runat="server" Font-Names="arial" 
                Font-Size="XX-Small" Text='<%# Eval("id5") %>'></asp:Label>&nbsp;
                <asp:Label ID="Label6" runat="server" Font-Names="arial" 
                Font-Size="XX-Small" Text='<%# Eval("id6") %>'></asp:Label>

Answer : asp.net - Is there anyway that you can detect that a label evals to nothing and trigger an event  to alert the user that they need do something.

Yes, it would say query running only and wont indicate the time associated.
And it purely Depends upon the level of error in your data or database..

It would take on an average or around 1 to 3 hours for your database size of 600 GB..
Random Solutions  
 
programming4us programming4us