Solved

Refreshing Grid View

Posted on 2006-07-01
2
267 Views
Last Modified: 2010-04-23
Hi, I am very new to web development so please go easy if the following question is absurdly simple ;-)

I am using Visual Studio 2005, with VB.Net to develop a web-site, which is utilising a SQL Database.

On one page, I have a search facility which is activated by a button. This search populates a temporary table, which I have bound to a gridview on the same page.

However I do not know how to refresh the gridview when the underlying table changes.

Any help to get me going again would be very much appreciated.

thanks...
...Steve
0
Comment
Question by:swtiley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Author Comment

by:swtiley
ID: 17025848
As additional comment - I have played around with the gridview.databind, but I am not sure where to put it.

For the moment it is on pageload, but then the gridview always displays one search behind the current one. Any suggestions of where it should go - or a better way of refreshing ...


... Thanks (again)
Steve
0
 
LVL 5

Accepted Solution

by:
t_itanium earned 500 total points
ID: 17029051
you can do that by rebinding the data or use the .Refesh of the grid view...but  if you are using ASP.NET  make sure you understand STATEVIEW and ASP.NET page life cycle...

http://www.15seconds.com/Issue/020102.htm
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question