Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Re: typecast error!

 
Thread Tools Search this Thread
Old 02-03-2006, 01:42 AM   #1
Default Re: typecast error!


On Mon, 13 Feb 2006 18:13:11 +0530, "Arvind R" <arvind
> wrote:

I'd like to answer your question but you are in the future and I can't
do time travel yet.

>Whats the solution for this?
>
>Specified cast is not valid.
>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.InvalidCastException: Specified cast is not valid.
>
>Source Error:
>
>Line 118: if ((dr["session_startdate"].ToString() !=
>DBNull.Value.ToString()))
>Line 119: {
>Line 120: DateTime dtEvent = (DateTime)dr["session_startdate"];
>Line 121:
>Line 122ublic void CalendarDRender(object sender,
>System.Web.UI.WebControls.DayRenderEventArgs e)


Otis Mukinfus
http://www.otismukinfus.com
http://www.tomchilders.com


Otis Mukinfus
  Reply With Quote
Old 02-04-2006, 05:32 PM   #2
Terry Burns
 
Posts: n/a
Default Re: typecast error!
LOL

--
Terry Burns
http://TrainingOn.net
"Otis Mukinfus" <> wrote in message
news:...
> On Mon, 13 Feb 2006 18:13:11 +0530, "Arvind R" <arvind
> > wrote:
>
> I'd like to answer your question but you are in the future and I can't
> do time travel yet.
>
>>Whats the solution for this?
>>
>>Specified cast is not valid.
>>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.InvalidCastException: Specified cast is not
>>valid.
>>
>>Source Error:
>>
>>Line 118: if ((dr["session_startdate"].ToString() !=
>>DBNull.Value.ToString()))
>>Line 119: {
>>Line 120: DateTime dtEvent = (DateTime)dr["session_startdate"];
>>Line 121:
>>Line 122ublic void CalendarDRender(object sender,
>>System.Web.UI.WebControls.DayRenderEventArgs e)

>
> Otis Mukinfus
> http://www.otismukinfus.com
> http://www.tomchilders.com





Terry Burns
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help on Modelsim VHDL syntax? ASAP:) kaji General Help Related Topics 0 03-14-2007 10:43 PM
Need help on a Modelsim VHDL Syntax? ASAP:) kaji Software 0 03-14-2007 10:43 PM
Need Help on a Modelsim VHDL Syntax....ASAP:) kaji Hardware 0 03-14-2007 10:41 PM
Parser Error Message: Could not load type 'Microsoft.SharePoint.ApplicationPages.Glob rasmita General Help Related Topics 0 09-05-2006 05:49 AM
Parser Error Message: Could not load type 'Microsoft.SharePoint.ApplicationPages.Glob rasmita General Help Related Topics 0 09-05-2006 05:46 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46