Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ObjectDataSource SelectMethod
Message
 
 
To
05/07/2010 11:49:08
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01471404
Message ID:
01471417
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform