GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DataGrid
Go To First  |  Previous Question  |  Next Question 
 DataGrid  |  Question 4 of 14    Print  
how to refresh the data in datagrid automatically

  
Total Answers and Comments: 10 Last Update: December 05, 2007     Asked by: Prajakta Deshpande 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 17, 2006 04:44:02   #1  
GauravSrivastava        

RE: how to refresh the data in datagrid automatically

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


 
Is this answer useful? Yes | No
April 11, 2006 01:30:13   #2  
sredevi tummala        

RE: how to refresh the data in datagrid automatically

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

thanking you


 
Is this answer useful? Yes | No
April 14, 2006 06:59:02   #3  
balavardhan Member Since: April 2006   Contribution: 2    

RE: how to refresh the data in datagrid automatically

Hi GauravSrivastava

I did not got your login plz give me total inforamtion

Thanking you for reply

Balavardhan


 
Is this answer useful? Yes | No
April 17, 2006 03:12:00   #4  
Sampoornam        

RE: how to refresh the data in datagrid automatically

Hi

how to refresh the data in datagrid automatically?


 
Is this answer useful? Yes | No
April 17, 2006 06:37:20   #5  
balavardhan Member Since: April 2006   Contribution: 2    

RE: how to refresh the data in datagrid automatically

Hi GauravSrivastava

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

Thanking you


 
Is this answer useful? Yes | No
May 02, 2006 09:15:28   #6  
Sonali Panda        

RE: how to refresh the data in datagrid automatically


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()


 
Is this answer useful? Yes | No
September 19, 2006 17:40:18   #7  
Rani        

RE: how to refresh the data in datagrid automatically

Hi

use DataGrid1.DataBind() method


 
Is this answer useful? Yes | No
January 31, 2007 10:35:00   #8  
Deepak Thakur        

RE: how to refresh the data in datagrid automatically
At Page_Load event :Response.AppendHeader( Refresh 20);20 is the second....after 20seconds automatically refresh the page.
 
Is this answer useful? Yes | No
July 10, 2007 00:53:36   #9  
zero_cool        

RE: how to refresh the data in datagrid automatically

<form id "form1" runat "server">
<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>
</div>
</form>

 
Is this answer useful? Yes | No
December 05, 2007 02:47:05   #10  
parii Member Since: December 2007   Contribution: 30    

RE: how to refresh the data in datagrid automatically
refresh datagrid by calling it in postback
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape