Click here to Skip to main content
15,901,666 members
Home / Discussions / C#
   

C#

 
AnswerRe: New Button in SaveFileDialog Pin
umd23-May-13 8:52
umd23-May-13 8:52 
QuestionDeveloping pager for winform application c# Pin
Tridip Bhattacharjee22-May-13 4:45
professionalTridip Bhattacharjee22-May-13 4:45 
Questionunable to launch C sharp Windows application using Windows 7 Pin
Member 961158422-May-13 4:08
Member 961158422-May-13 4:08 
AnswerRe: unable to launch C sharp Windows application using Windows 7 Pin
Pete O'Hanlon22-May-13 6:00
mvePete O'Hanlon22-May-13 6:00 
QuestionMake datagridview selected row invisible Pin
geralson22-May-13 1:41
geralson22-May-13 1:41 
AnswerRe: Make datagridview selected row invisible Pin
Richard MacCutchan22-May-13 2:42
mveRichard MacCutchan22-May-13 2:42 
GeneralRe: Make datagridview selected row invisible Pin
geralson22-May-13 3:32
geralson22-May-13 3:32 
QuestionExcel without excel Pin
caradri22-May-13 0:34
caradri22-May-13 0:34 
AnswerRe: Excel without excel Pin
Richard Deeming22-May-13 1:46
mveRichard Deeming22-May-13 1:46 
AnswerRe: Excel without excel Pin
PIEBALDconsult22-May-13 5:03
mvePIEBALDconsult22-May-13 5:03 
GeneralRe: Excel without excel Pin
caradri22-May-13 5:19
caradri22-May-13 5:19 
Question2D Array Managed and Unmanaged code Data Marshling Pin
Subhash Madhukar21-May-13 22:34
Subhash Madhukar21-May-13 22:34 
AnswerRe: 2D Array Managed and Unmanaged code Data Marshling Pin
David Knechtges22-May-13 3:28
David Knechtges22-May-13 3:28 
QuestionQuestion about constructors of a class Pin
Arun kumar Gautam21-May-13 18:22
Arun kumar Gautam21-May-13 18:22 
AnswerRe: Question about constructors of a class Pin
PIEBALDconsult21-May-13 18:50
mvePIEBALDconsult21-May-13 18:50 
GeneralRe: Question about constructors of a class Pin
Arun kumar Gautam21-May-13 19:06
Arun kumar Gautam21-May-13 19:06 
AnswerRe: Question about constructors of a class PinPopular
Pete O'Hanlon21-May-13 20:21
mvePete O'Hanlon21-May-13 20:21 
GeneralRe: Question about constructors of a class Pin
Arun kumar Gautam21-May-13 20:43
Arun kumar Gautam21-May-13 20:43 
AnswerRe: Question about constructors of a class Pin
DaveyM6921-May-13 22:12
professionalDaveyM6921-May-13 22:12 
AnswerRe: Question about constructors of a class Pin
harold aptroot22-May-13 3:49
harold aptroot22-May-13 3:49 
QuestionSome Columns of DataGridView Wont Accept Values Pin
matt_1ca21-May-13 17:51
matt_1ca21-May-13 17:51 
AnswerRe: Some Columns of DataGridView Wont Accept Values Pin
matt_1ca21-May-13 18:30
matt_1ca21-May-13 18:30 
GeneralRe: Some Columns of DataGridView Wont Accept Values Pin
matt_1ca22-May-13 14:57
matt_1ca22-May-13 14:57 
GeneralRe: Some Columns of DataGridView Wont Accept Values Pin
matt_1ca22-May-13 15:11
matt_1ca22-May-13 15:11 
QuestionTo Throw or Not To Throw Pin
Kevin Marois21-May-13 12:39
professionalKevin Marois21-May-13 12:39 
I'm working on an app that has custom exceptions defined. When the DAL wants to communicate that something is wrong, not necessarily an error, then it throws a custom exception. The theory here is that the UI can catch them and know what's wrong.

Examples might be a purchase amount exceeding a credit limit. The custom exception AmountExceedsCreditLimitException is thrown, with the message and amount attached to to it.

Then the UI now knows about this and can deal with it.

Now I know some who say that Exceptions should only be used for true errors.

I'd like to get your opinion.
If it's not broken, fix it until it is

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.