Click here to Skip to main content
11,813,974 members (38,848 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: .NET3.0 .NET
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 Abhinav S 265
1 Maciej Los 203
2 Palash Mondal_ 190
3 Sergey Alexandrovich Kryukov 179
0 OriginalGriff 3,877
1 KrunalRohit 2,526
2 Maciej Los 2,245
3 CPallini 2,240
4 ppolymorphe 1,750

Advertise | Privacy | Mobile
Web04 | 2.8.151002.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