blah blah blah is here! blah blah » Close

0
votes
1 answers

Exception handling in C#

Hi everyone, working on a uni assignment and we have to make our code continue to execute after an exception has been caught out of a try-catch loop. Just wondering what the code is for this? I need the program to return to the point before ...

0
votes
2 answers

Out of memory exception in C#

How can we avoid out of memory exception while doing Dataset.WriteXML(stringbuilder); Here the size of dataset data is 80 mb

1
votes
1 answers

"Data type mismatch in criteria expression" in C# MS-Access query

Hello , I'm trying to make an Update query but keep getting the following exception : "Data type mismatch in criteria expression" Here is the query : UPDATE PatientData SET PatientData.[Transaction Stop Time]='6/26/2 ...

0
votes
2 answers

Why out of range exception comes?

sanjib
226

Here is my code: When the Update button is clicked, a RowUpdating event is raised. Generate its event handler : [code]// Update row protected void grid_RowUpdating(object sender, GridViewUpdateEventArgs e) { // Retrieve updated d ...

0
votes
2 answers

Exception has been thrown by the target of an invocation

Hello i have created my application and atempted to run it on another pc. On my pc it is running nicely but on testing pc with .net framework 4 installed it failes with message: Exception has been thrown by the target of an invocation ...

0
votes
1 answers

NullReferenceException was unhandled

Hi could somebody please help me with this as it is driving me nuts for hours!!! I keep receving the "NullReferenceException was unhandled " in the bold line: public static Conditions GetCurrentConditions(string location) { ...

1
votes
1 answers

Most Inner Exception

eeboy
499

Often I find that the most valuable error information is contained in the most inner exception. This should be simple but how can I iterate through the inner exceptions to get to the root of the problem?

0
votes
1 answers

SystemOutofMemoryException

I am developing a windows application which uses WPF and have created subversion of it on my server. On executing the code from one system..the application runs smoothly,,while from the other machine the same code throws an exception " ...

0
votes
2 answers

Delete a record throws exception

Hi, Im writing an application that uses SQL Server 2005. I have two tables CLIENT and CLIENT_PURCHASES The tables are joinned by the client_id field. I would like to delete a client but if a client has some purchases I'm receiving an ex ...

0
votes
0 answers

Int16.Parse("0") throws exception

// Please explain why Int16.Parse("0") throws exception, but Int16.Parse("00") does not. // -Thanks // Compile/link instructions: // csc TestApp.cs // using System; class TestApp { public static void Main ...

Feedback