Click here to Skip to main content
11,716,938 members (82,681 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: .NET3.0
Cannot convert value of parameter '' from 'System.String' to 'System.DateTime'.
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.InvalidOperationException: Cannot convert value of parameter '' from 'System.String' to 'System.DateTime'.
Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
[InvalidOperationException: Cannot convert value of parameter '' from 'System.String' to 'System.DateTime'.]
   System.Web.UI.WebControls.DataSourceHelper.ConvertType(Object value, Type type, String paramName) +392
   System.Web.UI.WebControls.DataSourceHelper.BuildObjectValue(Object value, Type destinationType, String paramName) +167
   System.Web.UI.WebControls.Expressions.RangeExpression.GetMinRangeExpression(Expression propertyExpression, Object value, RangeType rangeType) +46
   System.Web.UI.WebControls.Expressions.RangeExpression.GetQueryable(IQueryable source) +257
   System.Web.UI.WebControls.Expressions.QueryExpression.GetQueryable(IQueryable source) +207
   System.Web.UI.WebControls.QueryExtender.OnDataSourceQueryCreated(Object sender, QueryCreatedEventArgs e) +47
   System.Web.UI.WebControls.QueryableDataSourceView.OnQueryCreated(QueryCreatedEventArgs e) +115
   System.Web.UI.WebControls.QueryableDataSourceView.ExecuteQueryExpressions(IQueryable source, QueryContext context) +52
   System.Web.UI.WebControls.QueryableDataSourceView.ExecuteQuery(IQueryable source, QueryContext context) +21
   System.Web.UI.WebControls.LinqDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +343
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +21
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +143
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
   System.Web.UI.WebControls.GridView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +66
   System.Web.UI.WebControls.GridView.OnPreRender(EventArgs e) +26
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
Posted 3-Apr-13 19:33pm
Edited 3-Apr-13 19:48pm
(no name)17.8K
Karthik Harve at 4-Apr-13 1:50am
[Edit] pre tags added

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 659
1 F-ES Sitecore 260
2 Maciej Los 185
3 OriginalGriff 175
4 Richard MacCutchan 140
0 Sergey Alexandrovich Kryukov 1,029
1 Maciej Los 464
2 Richard MacCutchan 430
3 CHill60 415
4 OriginalGriff 415

Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 4 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100