asp.net How to blink/flash a lable based on the status of database data

I want to refresh page every 15 seconds and dispaly total amount based on the data (Total Amount from database). If Total amount is greater than 10000, The amount lable will display amount with blink/flash otherwise just display label text no flush. Please advise how to make this work. See below code. Very appreciated with your help. I am using IE8 with .net 4.0


asp.net UpdatePanel
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager runat="server" id="ScriptManager1">
    </asp:ScriptManager>
    <asp:UpdatePanel runat="server" id="UpdatePanel1">
        <ContentTemplate>
        <asp:Timer runat="server" id="Timer1" Interval="15000" OnTick="Timer1_Tick"></asp:Timer>
       
        <asp:Label runat="server" id="lblAmt" Text="" ForeColor="White"></asp:Label>    
        <br />
        <asp:Label runat="server" ForeColor="White"  Font-Size="Medium" Text="Page not refreshed yet." id="lblTime"
                ></asp:Label>    
     
        </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>

C# code-behind

 DisplayService eService = new DisplayService(Constants.Connections.Display_DB);

        Decimal _TotalAmt;
        bool _DisplayStatus

        private Decimal TotalAmt
        {
            get { return _BTotalAmt; }
            set { _TotalAmt = value; }
        }


        private bool DisplayStatus
        {
            get { return _DisplayStatus; }
            set { _DisplayStatus = value; }
        }



        protected void Page_Load(object sender, EventArgs e)
        {


            DisplayEntity entry = eService.GetRunningTotal();
            TotalAmt = entry .RunningTotalAmt;
            if (TotalAmt >= 10000)
                  DisplayStatus = true;
         
        }
        protected void Timer1_Tick(object sender, EventArgs e)
        {
            lblTime.Text = "Panel refreshed at: " + DateTime.Now.ToString();
            lblAmt.Text = "<big><big><big><big>$" + Convert.ToDecimal(TotalAmt) + "</big></big></big></big>";
           
            if (DisplayStatus )
           {
            // question here, to be done???
                how to make the lblAmt.Text blink and flash with different color
           }

        }
shirleyz8821Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dejaanbuCommented:
how about changing the backcolor or forecolor of that label?

if(lblAmt.BackColor == Color.White)
      lblAmt.BackColor = Color.Red;
   else
      lblAmt.BackColor = Color.White;
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.