Server Error in '/' Application.

Procedure or function 'SFV_Course_Homework_Read' expects parameter '@ID', which was not supplied.SFV_Course_Homework_Read---@ID:---

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ApplicationException: Procedure or function 'SFV_Course_Homework_Read' expects parameter '@ID', which was not supplied.SFV_Course_Homework_Read---@ID:---

Source Error:


Line 8:      Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Line 9:          h_ID = Request.QueryString("ID")
Line 10:         hwork = New Homework(h_ID)
Line 11:         If Not IsPostBack Then
Line 12:             BindData()

Source File: d:\hosting\sfvalley\Homework.aspx    Line: 10

Stack Trace:


[ApplicationException: Procedure or function 'SFV_Course_Homework_Read' expects parameter '@ID', which was not supplied.SFV_Course_Homework_Read---@ID:---]
   PonderDev.Data.Database.RunSPReturnReader(String proc) +453
   PaintTheWeb.School4Stars.Homework.Read(String id) +83
   PaintTheWeb.School4Stars.Homework..ctor(String id) +22
   ASP.homework_aspx.Page_Load(Object sender, EventArgs e) in d:\hosting\sfvalley\Homework.aspx:10
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433