469,648 Members | 1,565 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,648 developers. It's quick & easy.

DataList Dynamic Controls on DataBinding with ObjectDataSource


I am creating a DataList by using the SelectMethod from an
ObjectDataSource. Within each item I want to be able to the
dynamically create a drop down list depending on what the ProductID is
which is being pulled from the ObjectDataSource.

How can I do this?

Protected Sub DataList2_DataBinding(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DataList2.DataBinding

Some sort of code which finds the ProductID for each row,
then can create the drop down list from this ID.

End Sub


Feb 28 '07 #1
0 2996

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Scott Schluer | last post: by
2 posts views Thread by Phil | last post: by
3 posts views Thread by Mirek Endys | last post: by
1 post views Thread by shantanu_kush | last post: by
7 posts views Thread by =?Utf-8?B?SmVmZiBCZWVt?= | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.