Click here to Skip to main content
15,909,747 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is it possible to write such a methode? Pin
Scott Dorman20-Aug-07 4:09
professionalScott Dorman20-Aug-07 4:09 
AnswerRe: Is it possible to write such a methode? Pin
Eduard Keilholz20-Aug-07 4:18
Eduard Keilholz20-Aug-07 4:18 
AnswerRe: Is it possible to write such a methode? Pin
Rudolf Jan21-Aug-07 0:52
Rudolf Jan21-Aug-07 0:52 
QuestionListBox reordering.. Pin
Dio2220-Aug-07 3:23
Dio2220-Aug-07 3:23 
AnswerRe: ListBox reordering.. Pin
Luc Pattyn20-Aug-07 3:43
sitebuilderLuc Pattyn20-Aug-07 3:43 
GeneralRe: ListBox reordering.. Pin
Dio2220-Aug-07 4:06
Dio2220-Aug-07 4:06 
QuestionException handling..???? Pin
Ron.S20-Aug-07 2:57
Ron.S20-Aug-07 2:57 
AnswerRe: Exception handling..???? Pin
originSH20-Aug-07 3:00
originSH20-Aug-07 3:00 
yep your code there will carry right on.

If you continue you have to think about anything that might have broken during an exception though i.e. was something being set to a value or a stream being opened.

Carrying on can lead to losing data or more expcetions.

If you want to do something with the exception and then let the exception carry on then you can

catch(dividebyzeroexception ex)
{
messagebox.show(ex.message.tostring());
throw ex;
}
GeneralRe: Exception handling..???? Pin
Scott Dorman20-Aug-07 4:14
professionalScott Dorman20-Aug-07 4:14 
GeneralRe: Exception handling..???? Pin
originSH20-Aug-07 4:51
originSH20-Aug-07 4:51 
GeneralRe: Exception handling..???? Pin
Scott Dorman20-Aug-07 5:40
professionalScott Dorman20-Aug-07 5:40 
AnswerRe: Exception handling..???? Pin
Talal Sultan20-Aug-07 3:02
Talal Sultan20-Aug-07 3:02 
AnswerRe: Exception handling..???? Pin
Eduard Keilholz20-Aug-07 3:06
Eduard Keilholz20-Aug-07 3:06 
AnswerRe: Exception handling..???? Pin
Rudolf Jan21-Aug-07 0:55
Rudolf Jan21-Aug-07 0:55 
QuestionIMPORT AN EXEL FILE in windows application Pin
nish8520-Aug-07 2:55
nish8520-Aug-07 2:55 
GeneralRe: IMPORT AN EXEL FILE in windows application Pin
Eduard Keilholz20-Aug-07 3:02
Eduard Keilholz20-Aug-07 3:02 
AnswerRe: IMPORT AN EXEL FILE in windows application Pin
Justin Perez20-Aug-07 3:14
Justin Perez20-Aug-07 3:14 
AnswerRe: IMPORT AN EXEL FILE in windows application Pin
Luc Pattyn20-Aug-07 3:46
sitebuilderLuc Pattyn20-Aug-07 3:46 
Question[Message Deleted] Pin
nish8520-Aug-07 1:48
nish8520-Aug-07 1:48 
AnswerRe: Import an Exel file Pin
Talal Sultan20-Aug-07 1:54
Talal Sultan20-Aug-07 1:54 
AnswerRe: Import an Exel file Pin
Giorgi Dalakishvili20-Aug-07 2:04
mentorGiorgi Dalakishvili20-Aug-07 2:04 
GeneralRe: Import an Exel file Pin
nish8520-Aug-07 2:58
nish8520-Aug-07 2:58 
GeneralRe: Import an Exel file Pin
Justin Perez20-Aug-07 3:27
Justin Perez20-Aug-07 3:27 
AnswerRe: Import an Exel file Pin
Talal Sultan20-Aug-07 1:53
Talal Sultan20-Aug-07 1:53 
QuestionPlease help in XmlTextReader..............URGENT!!!!! Pin
hemendravyas20-Aug-07 1:31
hemendravyas20-Aug-07 1:31 

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.