Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ObjectDataSource SelectMethod
Message
 
 
À
05/07/2010 11:49:08
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01471404
Message ID:
01471417
Vues:
22
>Thanks for the code. I see this is what I need:
>
>
                                                <SelectParameters>
>                                                    <asp:ProfileParameter Name="sortData" PropertyName="SiteID" Type="String" />
>                                                    <asp:Parameter DefaultValue="MasterAdmin" Name="ExcludeRole" Type="String" />
>                                                    <asp:ProfileParameter Name="SiteID" PropertyName="SiteID" Type="Int32" />
>                                                </SelectParameters>
>
>So I'll have to change it like this, I think:
>
>
                                                <SelectParameters>
>                                                    <asp:ProfileParameter Name="planPK" PropertyName="????" Type="Guid" />
>                                                </SelectParameters>
>
>But I don't know how to define the PropertyName. Where is that set/created?

See my second reply. I think in your case you can not use QueryParameter, ControlParameter, FormParameter or ProfileParameter. That leaves you only to generic parameter and setting its value in code behind. In my blog in the very end I gave a link to the parameter's definition. Check, if any of parameter's types may be applied in your case...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform