Click here to Skip to main content
15,921,174 members
Home / Discussions / C#
   

C#

 
GeneralRe: Anyone know how to programmatically change the datatype on a column in an Excel worksheet? Pin
Alaric_11-Nov-11 10:40
professionalAlaric_11-Nov-11 10:40 
QuestionArgumentException Pin
si_6911-Nov-11 5:39
si_6911-Nov-11 5:39 
AnswerRe: ArgumentException Pin
SledgeHammer0111-Nov-11 7:09
SledgeHammer0111-Nov-11 7:09 
GeneralRe: ArgumentException Pin
AspDotNetDev11-Nov-11 7:34
protectorAspDotNetDev11-Nov-11 7:34 
GeneralRe: ArgumentException Pin
SledgeHammer0111-Nov-11 7:47
SledgeHammer0111-Nov-11 7:47 
GeneralRe: ArgumentException Pin
AspDotNetDev11-Nov-11 7:53
protectorAspDotNetDev11-Nov-11 7:53 
AnswerRe: ArgumentException Pin
Not Active11-Nov-11 7:31
mentorNot Active11-Nov-11 7:31 
AnswerRe: ArgumentException Pin
Ennis Ray Lynch, Jr.11-Nov-11 8:49
Ennis Ray Lynch, Jr.11-Nov-11 8:49 
Normally, in .NET I create wrapper classes for all of my web methods.

[WebMethod]
public FooBarResult FooBar(FooBarParameters parameters){ //FooBarParameters only if a lot
    FooBarResult result = new FooBarResult();
    try{
        ... do work here
    }
    catch(Exception e1){
        ... Perform logic to determine how much of the exception you can return and
        ... assign that to the result object in a special errors property
    }
    //Sometimes I will add misc. information like run time to the result here
}


While not perfect in any manner it lets me consistently write web methods and always know how the results are coming back. I do a lot of cross platform WS work which is a real pain because both the Java tools and the .NET tool behave differently. This pattern gives a small semblance of sanity.

Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS.

"And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

AnswerRe: ArgumentException Pin
jschell11-Nov-11 12:37
jschell11-Nov-11 12:37 
QuestionWorking with MP3 Files Pin
adigi10-Nov-11 23:53
adigi10-Nov-11 23:53 
AnswerRe: Working with MP3 Files Pin
Wayne Gaylard11-Nov-11 0:04
professionalWayne Gaylard11-Nov-11 0:04 
GeneralRe: Working with MP3 Files Pin
adigi11-Nov-11 0:55
adigi11-Nov-11 0:55 
AnswerRe: Working with MP3 Files Pin
Ravi Bhavnani11-Nov-11 10:16
professionalRavi Bhavnani11-Nov-11 10:16 
AnswerRe: Working with MP3 Files Pin
BillWoodruff11-Nov-11 15:58
professionalBillWoodruff11-Nov-11 15:58 
QuestionCannot using generic type in extension method Pin
Tran Hai Quan10-Nov-11 22:05
Tran Hai Quan10-Nov-11 22:05 
AnswerRe: Cannot using generic type in extension method PinPopular
Wayne Gaylard10-Nov-11 22:41
professionalWayne Gaylard10-Nov-11 22:41 
GeneralRe: Cannot using generic type in extension method Pin
Tran Hai Quan10-Nov-11 22:47
Tran Hai Quan10-Nov-11 22:47 
AnswerRe: Cannot using generic type in extension method Pin
BillWoodruff11-Nov-11 5:49
professionalBillWoodruff11-Nov-11 5:49 
Questionwant code to be executed automatic on server every 5 minutes Pin
md_refay10-Nov-11 21:02
md_refay10-Nov-11 21:02 
AnswerRe: want code to be executed automatic on server every 5 minutes Pin
OriginalGriff10-Nov-11 21:49
mveOriginalGriff10-Nov-11 21:49 
AnswerRe: want code to be executed automatic on server every 5 minutes Pin
Anuj Banka10-Nov-11 21:53
Anuj Banka10-Nov-11 21:53 
Questioncombobox can't display -1? Pin
David_ADEI10-Nov-11 13:52
David_ADEI10-Nov-11 13:52 
AnswerRe: combobox can't display -1? Pin
SledgeHammer0110-Nov-11 14:21
SledgeHammer0110-Nov-11 14:21 
JokeRe: combobox can't display -1? Pin
Peter_in_278010-Nov-11 16:17
professionalPeter_in_278010-Nov-11 16:17 
GeneralRe: combobox can't display -1? Pin
David_ADEI10-Nov-11 16:54
David_ADEI10-Nov-11 16:54 

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.