I have a Link Button Inside Repeater Control and I want pass to another page
<ItemTemplate>
<tr>
<td bgcolor="#D8E1EA" style="display: none">
<asp:Label ID="empId" runat="server" Text='<% # Eval("emp_id")%>' />
</td>
<td>
<asp:LinkButton ID="lnkRowSelection" runat="server" Text='<% # Eval("FullEmpName")%>' CausesValidation="false"
CssClass="navigationlink" CommandName='<% # Eval("FullEmpName")%>' CommandArgument='<%#Eval("emp_id") %>'
OnClick="ButtonLink_Click" ForeColor="black" Font-Underline="false" />
</td>
<td>
<asp:Label ID="Label1" runat="server" Text='<% # Eval("days_worked")%>' />
</td>
<td>
<asp:Label ID="Label2" runat="server" Text='<% # Eval("total_absents")%>' />
</td>
<td>
<asp:Label ID="Label5" runat="server" Text='<% # Eval("days_marked")%>' />
</td>
</tr>
</ItemTemplate>
now I want to pass multiple values to Other Page (ManualAttendance.aspx
) with Link Button
I have tried this but with this i can only pass one value lnkRowSelection
.Text Please tell me how can i pass multiple column values??
this is what i have tried
protected void ButtonLink_Click(object sender, System.EventArgs e)
{
//LinkButton _lnkBtn = rptTeamAverage.Items[i].FindControl("lnkRowSelection") as LinkButton;
LinkButton lnkRowSelection = (LinkButton)sender;
//Label empId = (Label)sender;
lnkRowSelection.PostBackUrl = "ManualAttendance.aspx?id=" + lnkRowSelection.Text + "&M=" + Request.QueryString["M"] + "&S=" + int.Parse(Request.QueryString["S"].ToString()) + "&sys=" + ((System.Collections.Generic.Dictionary<string, string>)Session["User"])["Token"];
}