HighTechTalks DotNet Forums  

Datasource problem

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss Datasource problem in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
David Alge
 
Posts: n/a

Default Datasource problem - 10-01-2007 , 02:02 PM






I have a web site that seems to have a datasource refresh problem. On one of
the pages, I have a checkbox list control that is attached to a Access
datasource. I also have two buttons, one to select all items and one to
deselect the items in the list. I have a function in this page that I pass
the state of how I want all items in my datasource selected (true for
selected, false for unselected) and issue a SQL statements to update the
selected field for all records in the table that is attached to the check
listbox. (this function uses local variables for the OLEDB connection and
commands). I have verified the values in the database and the SQL statements
are executing properly. It is when it finished executing, the screen is not
refreshed with the new values and I'm not sure how to accomplish that. Can
someone help me with this problem?

Thanks so much!

David



Reply With Quote
  #2  
Old   
vapor
 
Posts: n/a

Default Re: Datasource problem - 12-24-2007 , 09:16 AM






Have you tried removing the datasource control and re-adding it to the page,
or creating a duplicate page and removing the first?

--
--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99

"David Alge" <dalge (AT) qualitestrx (DOT) com> wrote

Quote:
I have a web site that seems to have a datasource refresh problem. On one
of
the pages, I have a checkbox list control that is attached to a Access
datasource. I also have two buttons, one to select all items and one to
deselect the items in the list. I have a function in this page that I pass
the state of how I want all items in my datasource selected (true for
selected, false for unselected) and issue a SQL statements to update the
selected field for all records in the table that is attached to the check
listbox. (this function uses local variables for the OLEDB connection and
commands). I have verified the values in the database and the SQL
statements
are executing properly. It is when it finished executing, the screen is
not
refreshed with the new values and I'm not sure how to accomplish that. Can
someone help me with this problem?

Thanks so much!

David




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.