310.
<asp:ObjectDataSource ID="ObjQuestionRatings" runat="server" SelectMethod="LoadQuestions" TypeName="QuizNetOnline.Logic.QuizNetSystem">
<SelectParameters>
<asp:ControlParameter ControlID="cmbTopics" Name="TopicCodeID" PropertyName="SelectedValue" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
public virtual List<Question> LoadQuestions(string topicCode)
{
return LoadQuestions(null, topicCode, null, null, null, null, null, null, new SqlWrapper(), null);
}
What is wrong with above:
View Description
Name="TopicCodeID" is incorrect, the parameter name needs to be the same name as the function parameter name which is 'topicCode'