I'm currently trying jqGrid with .netTiers. Whenever I bind any data to a grid I'm getting a “Parameter count mismatch” error. I'm using the Northwind database and doing something simple like this:
grid.DataSource = DataRepository.CategoriesProvider.GetAll().ToArray();
grid.DataBind();
I also tried using the datasourceobject with no luck.
Here's the stack trace
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
[TargetParameterCountException: Parameter count mismatch.]<br /> System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +7520150<br /> System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29<br /> System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) +53<br /> System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) +20<br /> Trirand.Web.UI.WebControls.JQGrid.ObtainDataTableFromIEnumerable(IEnumerable ien) +588<br /> Trirand.Web.UI.WebControls.JQGrid.GetDataTableFromIEnumerable(IEnumerable en) +124<br /> Trirand.Web.UI.WebControls.JQGrid.PerformRequestData(IEnumerable retrievedData) +611<br /> Trirand.Web.UI.WebControls.JQGrid.OnDataSourceViewSelectCallback(IEnumerable retrievedData) +115<br /> System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31<br /> Trirand.Web.UI.WebControls.JQGrid.ProcessCallBack() +971<br /> Trirand.Web.UI.WebControls.JQGrid.OnPreRender(EventArgs e) +89<br /> System.Web.UI.Control.PreRenderRecursiveInternal() +80<br /> System.Web.UI.Control.PreRenderRecursiveInternal() +171<br /> System.Web.UI.Control.PreRenderRecursiveInternal() +171<br /> System.Web.UI.Control.PreRenderRecursiveInternal() +171<br /> System.Web.UI.Control.PreRenderRecursiveInternal() +171<br /> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842<br /> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top