Detailed Error:
Exception of type 'System.Web.HttpUnhandledException' was thrown.
Detailed Error Message:
Cannot cast DBNull.Value to type 'System.Int32'. Please use a nullable type.
at System.Data.DataRowExtensions.UnboxT`1.ValueField(Object value)
at System.Data.DataRowExtensions.Field[T](DataRow row, String columnName)
at LocalBodyWiseWelfareInstitutionsandHostelReports.b__5(DataRow row) in d:\WWR\rationmitra\WelFareInstitutions\Public\LocalBodyWiseWelfareInstitutionsandHostelReports.aspx.cs:line 58
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Sum(IEnumerable`1 source)
at System.Linq.Enumerable.Sum[TSource](IEnumerable`1 source, Func`2 selector)
at LocalBodyWiseWelfareInstitutionsandHostelReports.WelfareInstituteandHostel() in d:\WWR\rationmitra\WelFareInstitutions\Public\LocalBodyWiseWelfareInstitutionsandHostelReports.aspx.cs:line 58
at LocalBodyWiseWelfareInstitutionsandHostelReports.Page_Load(Object sender, EventArgs e) in d:\WWR\rationmitra\WelFareInstitutions\Public\LocalBodyWiseWelfareInstitutionsandHostelReports.aspx.cs:line 30
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)