Click here to Skip to main content
16,004,887 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: What is the best way to implement advertisement in the site? Pin
Christian Graus4-Jun-09 17:42
protectorChristian Graus4-Jun-09 17:42 
QuestionSending Email Pin
Mehdi Shafiee4-Jun-09 12:25
Mehdi Shafiee4-Jun-09 12:25 
AnswerRe: Sending Email PinPopular
Christian Graus4-Jun-09 13:19
protectorChristian Graus4-Jun-09 13:19 
AnswerRe: Sending Email Pin
Abhijit Jana4-Jun-09 20:39
professionalAbhijit Jana4-Jun-09 20:39 
AnswerRe: Sending Email Pin
Vasudevan Deepak Kumar4-Jun-09 21:31
Vasudevan Deepak Kumar4-Jun-09 21:31 
QuestionCopying or Converting datacolumn into array Pin
ashutosh_karna4-Jun-09 8:40
ashutosh_karna4-Jun-09 8:40 
AnswerRe: Copying or Converting datacolumn into array Pin
ToddHileHoffer4-Jun-09 10:38
ToddHileHoffer4-Jun-09 10:38 
GeneralRe: Copying or Converting datacolumn into array Pin
ashutosh_karna4-Jun-09 11:07
ashutosh_karna4-Jun-09 11:07 
Thanks for taking interest in my problem. My solution file successfully builds up at compile time but at run time , I am getting following error. Please help.

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 93: {
Line 94: //FIx to hand nulls if necessary
Line 95: data.Add((double)r["A"]);
Line 96: }
Line 97: // return (double[])intValues.ToArray();

Source File: C:\Users\Ashutosh\Documents\Visual Studio 2008\Projects\testing_buttonClickEvent\testing_buttonClickEvent\Default.aspx.cs Line: 95

Stack Trace:


[InvalidCastException: Specified cast is not valid.]
testing_buttonClickEvent._Default.Button1_Click(Object sender, EventArgs e) in C:\Users\Ashutosh\Documents\Visual Studio 2008\Projects\testing_buttonClickEvent\testing_buttonClickEvent\Default.aspx.cs:95
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +107
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3436
GeneralRe: Copying or Converting datacolumn into array Pin
ToddHileHoffer4-Jun-09 15:41
ToddHileHoffer4-Jun-09 15:41 
Questionconverting from binary to string Pin
liamderice4-Jun-09 6:50
liamderice4-Jun-09 6:50 
AnswerRe: converting from binary to string Pin
Christian Graus4-Jun-09 11:47
protectorChristian Graus4-Jun-09 11:47 
GeneralRe: converting from binary to string Pin
liamderice4-Jun-09 18:12
liamderice4-Jun-09 18:12 
QuestionSetting ASPX Thread.CurrentThread.CurrentCulture - visibility? Pin
devvvy4-Jun-09 6:28
devvvy4-Jun-09 6:28 
QuestionCrystal report 10 Oracle 10g and ASP.NET C#. Pin
5fingers4-Jun-09 5:06
5fingers4-Jun-09 5:06 
AnswerRe: Crystal report 10 Oracle 10g and ASP.NET C#. Pin
Manas Bhardwaj4-Jun-09 5:30
professionalManas Bhardwaj4-Jun-09 5:30 
QuestionGridview in C#asp.net Pin
mahichandu4-Jun-09 4:57
mahichandu4-Jun-09 4:57 
AnswerRe: Gridview in C#asp.net Pin
Paddy Boyd4-Jun-09 5:56
Paddy Boyd4-Jun-09 5:56 
Question[Message Deleted] Pin
Mantaii4-Jun-09 4:43
Mantaii4-Jun-09 4:43 
AnswerRe: Server.MapPath and Database. Pin
Mantaii7-Jun-09 22:28
Mantaii7-Jun-09 22:28 
Questionidentifying the isp of the user Pin
jophinmichael4-Jun-09 4:43
jophinmichael4-Jun-09 4:43 
AnswerRe: identifying the isp of the user Pin
Manas Bhardwaj4-Jun-09 5:07
professionalManas Bhardwaj4-Jun-09 5:07 
AnswerRe: identifying the isp of the user Pin
Christian Graus4-Jun-09 16:29
protectorChristian Graus4-Jun-09 16:29 
Question.Net Membership provider Pin
anandhakrishnan4-Jun-09 3:03
anandhakrishnan4-Jun-09 3:03 
Questionrepeater control in ASP.Net with C# Pin
mahichandu4-Jun-09 3:02
mahichandu4-Jun-09 3:02 
AnswerRe: repeater control in ASP.Net with C# Pin
Manas Bhardwaj4-Jun-09 3:30
professionalManas Bhardwaj4-Jun-09 3:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.