我如何将这个值传递给<%#DataBinder.Eval(Container, "DataItem.QuestionsText")%>
提交代码:database.InsertUpdate(String.Format("CALL spSurveyAnswer_Insert('{0}', '{1}','{2}');", selectValue1, txtFeedBack.Text, IneedToPassitHere ))
顺便说一句,dataBinder 存在于以下代码中:
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
<HeaderTemplate>
<table class="tblcolor">
<tr class="rowcolor">
<b>
</b>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr class="tblrowcolors">
<td> <%#DataBinder.Eval(Container, "DataItem.QuestionsText")%></td>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="1" selected="true" Value="Item1"/>
<asp:ListItem Text="2" Value="Item2"/>
<asp:ListItem Text="3" Value="Item3"/>
<asp:ListItem Text="4" Value="Item4"/>
<asp:ListItem Text="5" Value="Item5"/>
</asp:RadioButtonList>
提前致谢 ...