Jump to content

WPF Application - Bind with SQL data source

- - - - -

  • Please log in to reply
No replies to this topic

#1
avibiter

avibiter

    Newbie

  • Members
  • Pip
  • 5 posts
i declared it that way:
<Window.Resources>
<ObjectDataProvider x:Key="dictionaryDataSource"
ObjectType="{x:Type local:DictWord}"
MethodName="GetWords">
<ObjectDataProvider.MethodParameters>
<system:Int32>
****i don't know how to add the parameter***
</system:Int32>
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
</Window.Resources>

my problem is that i don't know how to pass the parameter into the method,
the parameter is a member field in the class of this window
thank you




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users