I'm having a problem with an aspx. I'm just learning how to use aspx and I can't seem to find my problem. In my page I have the following function and I call it with the statement that follows.
I'm looking at alternate ways to fix this. If the problem is obvious I'd appreciate the help.
Thanks for taking the time to read ;P
Frank
private sub DisplayCourse(sender As Object, e As System.EventArgs)
BindData("Maurice, Lafleur"
end sub
<asp:dropdownlist id="ddlTeacher" runat="server" DataTextField="name" DataValueField="t_no" OnSelectedIndexChanged="DisplayCourse">
</asp:dropdownlist>
<asp:datagrid id="dgCourseWorkload" OnItemDataBound="dgCourseWorkload_ItemDataBound" OnDeleteCommand="dgCourseWorkload_Delete" OnCancelCommand="dgCourseWorkload_Cancel" OnUpdateCommand="dgCourseWorkload_Update" OnEditCommand="dgCourseWorkload_Edit" EditItemStyle-BackColor="#eeeeee" EditItemStyle-Font-Size="12px" ItemStyle-Font-Size="12px" HeaderStyle-Font-Size="14px" HeaderStyle-Font-Bold="True" HeaderStyle-HorizontalAlign="Center" HeaderStyle-ForeColor="White" HeaderStyle-BackColor="Black" CellPadding="4" AutoGenerateColumns="False" DataKeyField="CourseCode" Runat="server">
I'm looking at alternate ways to fix this. If the problem is obvious I'd appreciate the help.
Thanks for taking the time to read ;P
Frank
private sub DisplayCourse(sender As Object, e As System.EventArgs)
BindData("Maurice, Lafleur"
end sub
<asp:dropdownlist id="ddlTeacher" runat="server" DataTextField="name" DataValueField="t_no" OnSelectedIndexChanged="DisplayCourse">
</asp:dropdownlist>
<asp:datagrid id="dgCourseWorkload" OnItemDataBound="dgCourseWorkload_ItemDataBound" OnDeleteCommand="dgCourseWorkload_Delete" OnCancelCommand="dgCourseWorkload_Cancel" OnUpdateCommand="dgCourseWorkload_Update" OnEditCommand="dgCourseWorkload_Edit" EditItemStyle-BackColor="#eeeeee" EditItemStyle-Font-Size="12px" ItemStyle-Font-Size="12px" HeaderStyle-Font-Size="14px" HeaderStyle-Font-Bold="True" HeaderStyle-HorizontalAlign="Center" HeaderStyle-ForeColor="White" HeaderStyle-BackColor="Black" CellPadding="4" AutoGenerateColumns="False" DataKeyField="CourseCode" Runat="server">