How to add a 'Record Deleted' message in this code?
<p>I want to add a Record Delete Message when the Delete button is selected.  The message would appear for 5 seconds, then disappear.  Here's the code:</p>

<pre><code>            &lt;asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                AllowSorting="True" DataSourceID="SqlDataSource1" 
                AutoGenerateColumns="False" DataKeyNames="ScheduleId"&gt;
                &lt;Columns&gt;
                    &lt;asp:CommandField ShowDeleteButton="True" /&gt;
                    &lt;asp:BoundField DataField="SDate" HeaderText="SDate" SortExpression="SDate" /&gt;
                    &lt;asp:BoundField DataField="STime" HeaderText="STime" SortExpression="STime" /&gt;
                    &lt;asp:BoundField DataField="SNoPlaces" HeaderText="SNoPlaces" 
                        SortExpression="SNoPlaces" /&gt;
                    &lt;asp:BoundField DataField="ScheduleId" HeaderText="ScheduleId" 
                        InsertVisible="False" ReadOnly="True" SortExpression="ScheduleId" Visible="false" /&gt;
                    &lt;asp:BoundField DataField="STourId" HeaderText="STourId" SortExpression="STourId" Visible="false" /&gt;
                    &lt;asp:BoundField DataField="TName" HeaderText="Tour Name" SortExpression="TName" /&gt; 
                &lt;/Columns&gt;
            &lt;/asp:GridView&gt;
            &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="&lt;%$ ConnectionStrings:ChinatowndbConnString %&gt;" 
                DeleteCommand="DELETE FROM Schedule WHERE (ScheduleId = @ScheduleId)" 
                SelectCommand="SELECT SDate, STime, SNoPlaces, ScheduleId, STourId, TName FROM Schedule INNER JOIN Tour ON Schedule.STourId = Tour.TourId"&gt;
                &lt;DeleteParameters&gt;
                    &lt;asp:Parameter Name="ScheduleId" /&gt;
                &lt;/DeleteParameters&gt;
            &lt;/asp:SqlDataSource&gt;
</code></pre>

<p>Regards
Tea</p>
