By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,856 Members | 2,004 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,856 IT Pros & Developers. It's quick & easy.

Datagridview to reflect changes made in Server database

P: 14
Well i have a datagridview in my application and i want it to reflect any changes made in server database instantly with some trigger or so?
I have a choice to use timer and get the desired results by binding datagridview after every 5 sec's or so but i dont want to do this .As it ll affect the performanc e of my application.Please suggest a better way out......
Nov 21 '08 #1
Share this Question
Share on Google+
1 Reply


P: 55
Put the gridview in an update panel with any controls that update it and on the back end run:

GridView1.DataBind();

In the call that the control makes it will bind the gridview with all changed values without posting back.
Nov 27 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.