GeekInterview.com
Series: Subject: Topic:
Question: 11 of 14

how to refresh the data in datagrid automatically

Asked by: Interview Candidate | Asked on: Mar 13th, 2006
Showing Answers 1 - 12 of 12 Answers
GauravSrivastava

Answered On : Mar 17th, 2006

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

  
Login to rate this answer.
sredevi tummala

Answered On : Apr 11th, 2006

can u please explain in detail how to refresh the datagrid automatically in vb.net or c#.net

                          thanking you,

Yes  1 User has rated as useful.
  
Login to rate this answer.
balavardhan

Answered On : Apr 14th, 2006

View all answers by balavardhan

Hi GauravSrivastava,

I did not got your login plz give me total inforamtion

Thanking you for reply

Balavardhan

  
Login to rate this answer.
Sampoornam

Answered On : Apr 17th, 2006

Hi

how to refresh the data in datagrid automatically?

Yes  1 User has rated as useful.
  
Login to rate this answer.
balavardhan

Answered On : Apr 17th, 2006

View all answers by balavardhan

Hi GauravSrivastava,

I did not found that tech, which you are using send me more info,

Thanking you

 

 

  
Login to rate this answer.
Sonali Panda

Answered On : 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), _
        CurrencyManager)
' Refresh
cs.Refresh()

  
Login to rate this answer.
Rani

Answered On : Sep 19th, 2006

Hi

 use DataGrid1.DataBind() method

  
Login to rate this answer.
Deepak Thakur

Answered On : Jan 31st, 2007

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

  
Login to rate this answer.
zero_cool

Answered On : Jul 10th, 2007


   

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

   

  
Login to rate this answer.
parii

Answered On : Dec 5th, 2007

View all answers by parii

refresh datagrid by calling it in postback

Yes  1 User has rated as useful.
  
Login to rate this answer.
sivabalanp

Answered On : Aug 10th, 2010

View all answers by sivabalanp

Bind the datagrid by calling "datagridname.databind()"

  
Login to rate this answer.

Using cache you can automatically refresh the datagrid data

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.