Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ObjectDataSource SelectParameters Source from context.items?
Message
De
25/12/2008 00:08:52
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
ObjectDataSource SelectParameters Source from context.items?
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
MySQL
Application:
Web
Divers
Thread ID:
01369694
Message ID:
01369694
Vues:
61
I have 1 parent form call 1 child form by using :
        Context.Items["pplId"] = DetailsView1.SelectedValue.ToString();
        Server.Transfer("cusAdd.aspx");
In Child Form (cusAdd.aspx), have an ObjectDataSource.

How to configure the ObjectDataSource SelectParameters Source from context.items["pplId"]?
 <asp:ObjectDataSource ID="odsCusById" runat="server" 
        SelectMethod="GetPplById" TypeName="pplBLL"
        <SelectParameters>
            <asp:QueryStringParameter DefaultValue="0" Name="id" ...... <------------------------------------??????????????
        </SelectParameters>
TIA.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform