Hi
I am combining 2 lists of equal length into a 2 dimensional array and then bind it using repeater.
C# code
string[,] names = new string[eventlist_get2.Count,2];
for (int i = 0; i < eventlist_get2.Count(); i++)
{
names[i, 0] = eventlist_get2[i];
names[i, 1] = datelist_get2[i];
}
RepeaterOld2.DataSource = names;
RepeaterOld2.DataBind();
This array and repeater will have 2 columns of data. Next thing is to show the data in 2 columns in the page
ASPX code
<asp:Repeater ID="RepeaterOld2" runat="server" ClientIDMode="Predictable">
<HeaderTemplate>
<table width="75%" style="border: 1px solid #777777;">
<tr>
<th style="width:20%;color:#000091;font-f ...
Go to the complete details ...