Saturday, 17 August 2013

Animated GIF while database connects in WPF

Animated GIF while database connects in WPF

I am working on an application that connects to Database as soon as it
opens. Sometimes, it takes about 10-15 seconds before the database file
gets connected and until then, no controls are loaded, it just loads a
blank window and the cursor shows working. I tried using this library to
use an animated GIF but it is not loading it before trying DB connection.
I am using SQL Server Express and connecting to an mdf file. I tried
placing code to display the before the SqlConnection and SqlDataAdapter
Objects but even that didn't help. Any suggestions would be appreciated.
Thanks in advance.

No comments:

Post a Comment