Showing posts with label bind Dictionary. Show all posts
Showing posts with label bind Dictionary. Show all posts

Friday, March 28, 2008

ASP wwDataBinder with dictionaries and lists

Hello people,
This is my first article of my blog so I hope you find this helpful.
How many of you used wwDataBinder extender from MSDN in asp pages . If you did, maybe you wanted to bind some lists or dictionaries and had a surprise, it does not work.
I changed extender a little bit so you can use lists and dictionaries.
This can be a lot of help if you're using lists or dictionaries in your data model.
Well, you can download it from here as compiled version or source code (use Save target as).

Using is very simple:

<ww:wwDataBindingItem runat="server" BindingMode="TwoWay" DisplayFormat="{0:00.00}"
BindingSource="this" ControlId="TextBox33" BindingSourceMember="SomeDictionary[1]">
</ww:wwDataBindingItem>

I will come with another article regarding using this extender for those who does not know about this.
kick it on DotNetKicks.com