Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 21, 2012 12:16 PM by jagjot
Nov 21, 2012 10:38 AM|LINK
I am using the Views to get the values from the Database. I am updating the rows by using my C# code. It is updating the columns but the values getting through views is giving the old values. When I refresh the Views its giving the correct values. Can any
one help me to solve this issue.
Thanks in Advance
Nov 21, 2012 10:42 AM|LINK
need more information...
Are you displaying values in gridview control.?
How you refresh your views?
Nov 21, 2012 11:12 AM|LINK
Ya I am filling that values to grid. I am refreshing the Views at the backend like Script to-->Alter View and then executing that views.
Nov 21, 2012 11:16 AM|LINK
after you are done updating your views try YourGird.Bind() again.
Nov 21, 2012 11:27 AM|LINK
Ya I tried But it not working. The problem is from view itself there itself it's not selecting the new values it gives only the old record
Nov 21, 2012 11:29 AM|LINK
what is your database? sql server ?
Nov 21, 2012 11:35 AM|LINK
Yes, I am using SQL Server 2008
Nov 21, 2012 12:16 PM|LINK
can you post your code?