hello
try this
on aspx page put your grid etc inside the update panel
<asp:UpdatePanel ID="up" runat="server">
<ContentTemplate>
<asp:Panel ID="panel1" runat="server" Visible="false" CssClass="loading">
Please wait while loading.....
<%--other db related control--%>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
in .cs page
private void GetDetailFromDB()
{
panel1.Visible = true;
up.Update();
panel1.Visible = false;
}
use css to set the panel in the center of the screen.
best siches