Client Binding with WCF Service pass parameters

7 replies. Last post: October 8, 2010 11:40 AM by Dave McGoff
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Dave McGoffMember

I am using a WCF Service for Client Binding.  How do I pass a parameter to my Select Method (getAllForecastTypes)?

    <ISWebGrid:WebGrid ID="WebGrid2" runat="server" Height="250px" UseDefaultStyle="True"
        Width="500px" BindingOperationMode="ClientBinding">
        <RootTable DataKeyField="value">
            <Columns>
                <ISWebGrid:WebGridColumn Caption="Text" DataMember="text" Name="text" Width="100px">
                </ISWebGrid:WebGridColumn>
                <ISWebGrid:WebGridColumn Caption="value" DataMember="value" Name="value" Width="100px">
                </ISWebGrid:WebGridColumn>
            </Columns>
        </RootTable>
        <ClientBindingSettings DataSourceType="WcfService" ServiceUrl="MarketDefinitionServices.svc">
            <ServiceMethods SelectMethod="getAllForecastTypes" />
        </ClientBindingSettings>
    </ISWebGrid:WebGrid>
All times are GMT -5. The time now is 9:04 AM.
Previous Next