Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery() like function for a dataset?
Message
De
24/03/2003 13:24:14
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00769349
Message ID:
00769353
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform