前台
<tr>
<td style="50px"><%# Container.ItemIndex + 1+(Convert.ToInt32(this.drpCurrentPageIndex.SelectedValue)-1)*Convert.ToInt32(this.drpCount.SelectedValue)%></td>
<td>
<asp:Label ID="lbQuestionTypesName" runat="server" Text='<%# Eval("QuestionTypesName")%>'></asp:Label>
<asp:HiddenField ID="hfQuestionTypesID" Value='<%# Eval("QuestionTypesID")%>' runat="server" />
</td>
<td>
<asp:Label ID="lbStageName" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
<asp:HiddenField ID="hfStageID" Value='<%# Eval("StageID") %>' runat="server" />
</td>
<td>
<asp:Label ID="lbGradeName" runat="server" Text='<%# Eval("GradeName") %>'></asp:Label>
<asp:HiddenField ID="hfGradeID" Value='<%# Eval("GradeID") %>' runat="server" />
</td>
<td>
<asp:Label ID="lbSemesterID" runat="server" Text='<%# Eval("SemesterID").ToString()=="0"?"上学期":"下学期" %>'></asp:Label>
<asp:HiddenField ID="hfSemesterID" Value='<%# Eval("SemesterID") %>' runat="server" />
</td>
<td>
<asp:DropDownList ID="drpStatu" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drpStatu_SelectedIndexChanged">
<asp:ListItem Value="0">未开放</asp:ListItem>
<asp:ListItem Value="1">开放</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
后台
DropDownList ddl = (DropDownList)sender;
RepeaterItem ri = (RepeaterItem)ddl.NamingContainer;
string sQuestionTypesID = ((HiddenField)ri.FindControl("hfQuestionTypesID")).Value;
string sStageID = ((HiddenField)ri.FindControl("hfStageID")).Value;
string sGradeID = ((HiddenField)ri.FindControl("hfGradeID")).Value;
string sSemesterID = ((HiddenField)ri.FindControl("hfSemesterID")).Value;
bool bstatus = ddl.SelectedValue == "1" ? true : false;