Author: hi_shobhit76 | Posted on: 9/7/2009 2:32:38 AM | Views : 854

Hi,


I have a repeater control which has 2 item templates with a label and dropdownlist respectively.
Am populating a dataset with two tables each having one column.
I want to bind my repeater control to this dataset where label has values from table 2 and dropdownlist has values from table 1 with all rows of the column of table 1 in each dropdown of the repeater control.
However I am able to populate the dropdown item template with all data in each row of repeater but facing problem in populating the values on the lable item template from the table 1 of the dataset.
here is some code for your reference :
Design View:

<div id="divMainframe" style="height: 400px; width: 400px; border: 1; border-color: Black">
<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
...

Go to the complete details ...