Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requery() like function for a dataset?
Message
From
24/03/2003 13:24:14
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00769349
Message ID:
00769353
Views:
12
Stephen,

I don't see the problem ... you just call your GetPages() method again from the DropDown's SelectedIndexChanged event, right?

~~Bonnie


>This has got to be easier. This code below does fine. When I change the value used for the SQL Query of aOpening via a dropdown, how do I refresh the page with it's new data?
>
>
>Existing code:
>
>if (!IsPostBack) // first time in.
>{
>// This gets my data fine. A user
>Pages oPages = (Pages)this.RegisterBizObj(new Pages());
>// Get a DataSet containing all Page
>DataSet dsGetPages = oPages.GetPages(aPage, aOpening);
>// Persist the DataSet to the Session object
>Session["dsGetPages"] = dsGetPages;
>
>// SNIP
>
>}
>else
>{
>
>}
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform