Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jump Start: Web Forms Application - C#, Step 17
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01157320
Message ID:
01157396
Vues:
18
Ted,

>This does not work:
>
>In the Page_Load method, change the following code:
>
>Session["dsOrderDetail"] = this.oOrderDetail.GetOrderDetail(this.OrderID);
>To this:
>
>
>if (!IsPostBack)
>{
>   Session["dsOrderDetail"] = this.oOrderDetail.GetOrderDetail(this.OrderID);
>}
>else
>{
>   DataSet dsOrderDetail = (DataSet)Session["dsOrderDetail"];
>   this.oOrderDetail.SetCurrentDataSet(dsOrderDetail);
>}
>
When you say it doesn't work, what is it doing?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform