I'm using Visual Web Developer 2010 Express with SQL Server 2008 Express, VB.
In the code snippet below, I have the template text "Transferring Capacitor data...". Since this will be running while several component types transfer SQL tables to Access, is it possible to change the text to Transferring Connector, Transferring Diode, etc as the transfers progress? I can send a variable to indicate which table is being transferred but it doesn't appear to be any way of using an If statement to change the displayed text. As a last choice I can go with a generic "Transferring data..." but only if I have to.
VB code:
<asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="0" AssociatedUpdatePanelID="UpdatePanel1"><ProgressTemplate><script type="text/javascript">
document.write("<div class='UpdateProgressBackground'></div>");</script><center><div class="UpdateProgressContent"
style="background-color: #FFFFFF; font-weight: bold; left: 572px; height: 29px;">
Transferring Capacitor data...<asp:Image id="CapWait" runat="server" ImageUrl="~/Images/progress.gif"/></div></center></ProgressTemplate></asp:UpdateProgress>Thanks!