I am facing a pagination issue on my code. This is my code.
Data is coming on first redirect pagination working. as 1 and 2 but when i am clicking on 2 it redirecting to same page(page 1). then i am again clicking on 2 then it showing the 1st value of the same page. and when i click on page 1 then it showing some data and rest showing blank.
Can anyone help me on this?
Thanks
AllowSorting="true" AutoGenerateColumns="false" DataKeyNames="Currentmatch_Id" PageSize="10"
OnPageIndexChanging="grdlistTeam_PageIndexChanging"
OnRowDataBound="grdlistTeam_RowDataBound1" ShowHeader="false"
Width="100%">
Font-Underline="false" ForeColor="White"
PostBackUrl='<%# Eval("TournamentId","TournamentSubHome.aspx?TournamentId={0}") %>'
Text='<%#Eval("TournamentName")%>'>
style="margin-left: 2px;">
<%# Eval("Team1Total")%>/<%# Eval("FirstInningwickets")%>
<%# Eval("BallplayedTeam1")%>Ov
Font-Size="100%" Font-Underline="false" ForeColor="#0d2549"
PostBackUrl='<%# Eval("Team1_Id","TeamDetails.aspx?TeamId={0}") %>'
Text='<%#Eval("Team1") %>'>
v/s
Font-Size="100%" Font-Underline="false" ForeColor="#0d2549"
PostBackUrl='<%# Eval("Team2_Id","TeamDetails.aspx?TeamId={0}") %>'
Text='<%#Eval("Team2") %>'>
<%# Eval("Team2Total")%>/<%# Eval("SecondInningwickets")%>
<%# Eval("BallplayedTeam2")%>Ov
">}

sooraj singh175 pointsPosted Sep 15, 2014, 10:30 AM EDT
objCmd.Parameters.AddWithValue("@eventorganizer", username);
here "username" is never defined..
and
">
Please Check it...it would be help if provide the database structure also...