Click here to Skip to main content
15,899,679 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionreverse a function Pin
cootechgy11-Dec-17 11:24
cootechgy11-Dec-17 11:24 
AnswerRe: reverse a function Pin
Eddy Vluggen11-Dec-17 11:56
professionalEddy Vluggen11-Dec-17 11:56 
AnswerRe: reverse a function Pin
Dave Kreskowiak11-Dec-17 15:27
mveDave Kreskowiak11-Dec-17 15:27 
QuestionAre there any limitations to Microsoft Word Doc conversion to HTML? Pin
Eagle329-Dec-17 3:36
Eagle329-Dec-17 3:36 
AnswerRe: Are there any limitations to Microsoft Word Doc conversion to HTML? Pin
Dave Kreskowiak9-Dec-17 4:34
mveDave Kreskowiak9-Dec-17 4:34 
QuestionWhy does Task.Factory not do what it's supposed to do? Pin
Wiep Corbier26-Nov-17 19:45
Wiep Corbier26-Nov-17 19:45 
AnswerRe: Why does Task.Factory not do what it's supposed to do? Pin
Richard MacCutchan26-Nov-17 21:35
mveRichard MacCutchan26-Nov-17 21:35 
GeneralRe: Why does Task.Factory not do what it's supposed to do? Pin
Wiep Corbier26-Nov-17 21:44
Wiep Corbier26-Nov-17 21:44 
AnswerRe: Why does Task.Factory not do what it's supposed to do? Pin
Gerry Schmitz27-Nov-17 3:29
mveGerry Schmitz27-Nov-17 3:29 
GeneralRe: Why does Task.Factory not do what it's supposed to do? Pin
Wiep Corbier27-Nov-17 7:00
Wiep Corbier27-Nov-17 7:00 
GeneralRe: Why does Task.Factory not do what it's supposed to do? Pin
Gerry Schmitz27-Nov-17 7:52
mveGerry Schmitz27-Nov-17 7:52 
QuestionRead XLM data using Key in powershell Pin
Member 1338745922-Nov-17 21:54
Member 1338745922-Nov-17 21:54 
AnswerRe: Read XLM data using Key in powershell Pin
Richard MacCutchan22-Nov-17 22:53
mveRichard MacCutchan22-Nov-17 22:53 
Questionerror: The format of value 'application/json; charset=utf-8' is invalid. from webapi Pin
RAGHUNATH45616-Nov-17 4:31
RAGHUNATH45616-Nov-17 4:31 
AnswerRe: error: The format of value 'application/json; charset=utf-8' is invalid. from webapi Pin
Richard MacCutchan16-Nov-17 5:14
mveRichard MacCutchan16-Nov-17 5:14 
GeneralRe: error: The format of value 'application/json; charset=utf-8' is invalid. from webapi Pin
RAGHUNATH45616-Nov-17 22:10
RAGHUNATH45616-Nov-17 22:10 
GeneralRe: error: The format of value 'application/json; charset=utf-8' is invalid. from webapi Pin
Richard MacCutchan16-Nov-17 22:40
mveRichard MacCutchan16-Nov-17 22:40 
GeneralRe: error: The format of value 'application/json; charset=utf-8' is invalid. from webapi Pin
Dominic Burford12-Dec-17 2:47
professionalDominic Burford12-Dec-17 2:47 
GeneralRe: error: The format of value 'application/json; charset=utf-8' is invalid. from webapi Pin
tJackydx29-Nov-17 3:33
tJackydx29-Nov-17 3:33 
AnswerRe: error: The format of value 'application/json; charset=utf-8' is invalid. from webapi Pin
Dominic Burford12-Dec-17 2:46
professionalDominic Burford12-Dec-17 2:46 
QuestionProblem validating data input to a DataTable Pin
Ernesto R.D.8-Nov-17 17:54
Ernesto R.D.8-Nov-17 17:54 
AnswerRe: Problem validating data input to a DataTable Pin
Eddy Vluggen8-Nov-17 23:45
professionalEddy Vluggen8-Nov-17 23:45 
GeneralRe: Problem validating data input to a DataTable Pin
Ernesto R.D.9-Nov-17 0:57
Ernesto R.D.9-Nov-17 0:57 
Thanks for the reply Eddy.
I just found out whats wrong...

This:
public void customersRowChangeEvent(object sender, customersRowChangeEvent e)  
{  
    if (e.Row.Name.Length == 0)  
    {  
        e.Row.SetColumnError("name", "Customer name cannot be empty"); 
        throw new System.Exception("Customer Name cannot be empty"); 
    }  
    else  
    {  
        e.Row.SetColumnError("name", "");  
    }  
}  


Does work as intended. The unhandled exception i was getting was a First chance exception. If i hit continue and let the code continue to run, it does get handled properly on my own try / catch statements on the Save button handler i posted above.

Now i feel embarassed. i guess im rustier than i tought i was. I completely forgot about first chance exceptions and how the debuger handles them.
GeneralRe: Problem validating data input to a DataTable Pin
Eddy Vluggen9-Nov-17 2:49
professionalEddy Vluggen9-Nov-17 2:49 
QuestionCircle Progress in Visual Studio 2008 Pin
Member 135090597-Nov-17 16:25
Member 135090597-Nov-17 16:25 

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.