How to refresh the data in datagrid automatically

Showing Answers 1 - 12 of 12 Answers


  • Mar 17th, 2006

for refreshing data in data grid control we can use chasing technique

  Was this answer useful?  Yes

sredevi tummala

  • Apr 11th, 2006

can u please explain in detail how to refresh the datagrid automatically in or

                          thanking you,


  • Apr 17th, 2006


how to refresh the data in datagrid automatically?

Sonali Panda

  • May 2nd, 2006

Refreshing The Grid
No matter how you performes data binding, if your application views dynamic
data you are bound to refresh the grid at some time. It turns out that this is
another trivial task that was made "un-obvious". Here's how:

Get the DataGridCurrencyManager
Call it's refresh method
Note the parameter to BindingContext - this is where most people
fail. It should be a reference to the exact object you binded. 

' Get currency manager
Dim cs As CurrencyManager = _
  CType(MyDataGrid.BindingContext(MyCarsDataSet.Cars), _
' Refresh

  Was this answer useful?  Yes


  • Sep 19th, 2006


 use DataGrid1.DataBind() method

  Was this answer useful?  Yes

Deepak Thakur

  • Jan 31st, 2007

At Page_Load event :Response.AppendHeader("Refresh",20);20 is the second....after 20seconds ,automatically refresh the page.

  Was this answer useful?  Yes


  • Jul 10th, 2007

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <asp:Label ID="lblNumber" runat="server">0</asp:Label>
                <Triggers >
                    <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
        <asp:Timer ID="Timer1" runat="server" Interval="6000">

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions