Click here to Skip to main content
15,907,183 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to create an installer for Excel Plug In Pin
Ashish_Sood6-Apr-10 2:21
Ashish_Sood6-Apr-10 2:21 
GeneralRe: How to create an installer for Excel Plug In Pin
Eddy Vluggen6-Apr-10 3:01
professionalEddy Vluggen6-Apr-10 3:01 
QuestionHow to retrieve last application startup time Pin
Rikq5-Apr-10 22:17
Rikq5-Apr-10 22:17 
AnswerRe: How to retrieve last application startup time Pin
Mycroft Holmes5-Apr-10 22:36
professionalMycroft Holmes5-Apr-10 22:36 
AnswerRe: How to retrieve last application startup time Pin
Luc Pattyn6-Apr-10 2:30
sitebuilderLuc Pattyn6-Apr-10 2:30 
AnswerRe: How to retrieve last application startup time Pin
PIEBALDconsult6-Apr-10 4:37
mvePIEBALDconsult6-Apr-10 4:37 
QuestionError While Large File Uploading Pin
sjs4u5-Apr-10 21:08
sjs4u5-Apr-10 21:08 
QuestionStore and retrieve list of structures Pin
Reza Shojaee5-Apr-10 19:44
Reza Shojaee5-Apr-10 19:44 
AnswerRe: Store and retrieve list of structures Pin
Eddy Vluggen5-Apr-10 22:13
professionalEddy Vluggen5-Apr-10 22:13 
Questionhow to get the row index value in datagridview Pin
crisjala5-Apr-10 17:27
crisjala5-Apr-10 17:27 
AnswerRe: how to get the row index value in datagridview Pin
Reza Shojaee5-Apr-10 20:00
Reza Shojaee5-Apr-10 20:00 
Questionpass an object by value. Pin
prasadbuddhika5-Apr-10 17:08
prasadbuddhika5-Apr-10 17:08 
AnswerRe: pass an object by value. Pin
PIEBALDconsult5-Apr-10 17:16
mvePIEBALDconsult5-Apr-10 17:16 
AnswerRe: pass an object by value. Pin
Luc Pattyn5-Apr-10 17:18
sitebuilderLuc Pattyn5-Apr-10 17:18 
GeneralRe: pass an object by value. Pin
prasadbuddhika5-Apr-10 17:49
prasadbuddhika5-Apr-10 17:49 
GeneralRe: pass an object by value. Pin
Praveen Raghuvanshi5-Apr-10 21:06
professionalPraveen Raghuvanshi5-Apr-10 21:06 
GeneralRe: pass an object by value. Pin
Dave Kreskowiak6-Apr-10 1:49
mveDave Kreskowiak6-Apr-10 1:49 
AnswerRe: pass an object by value. Pin
SBGTrading6-Apr-10 2:06
SBGTrading6-Apr-10 2:06 
GeneralRe: pass an object by value. Pin
PIEBALDconsult6-Apr-10 4:59
mvePIEBALDconsult6-Apr-10 4:59 
GeneralRe: pass an object by value. Pin
DaveyM696-Apr-10 10:41
professionalDaveyM696-Apr-10 10:41 
QuestionValidate Class Properties Pin
Kevin Marois5-Apr-10 15:41
professionalKevin Marois5-Apr-10 15:41 
AnswerRe: Validate Class Properties Pin
FyreWyrm5-Apr-10 15:51
FyreWyrm5-Apr-10 15:51 
What we do is use an Errors collection, and add the fields that failed validation to the collection. The Validate method then returns false. The calling class looks something like

if (customer.Validate())
{
   // do stuff
}
else
{
   foreach (Error fieldError in customer.Errors)
   {
     // do something with the errors
     // create a single message or throw an exception
   }
}

Don't blame me. I voted for Chuck Norris.

GeneralRe: Validate Class Properties Pin
Kevin Marois5-Apr-10 15:52
professionalKevin Marois5-Apr-10 15:52 
AnswerRe: Validate Class Properties Pin
N a v a n e e t h5-Apr-10 15:59
N a v a n e e t h5-Apr-10 15:59 
QuestionHow do i filter in bindingsource Pin
crisjala5-Apr-10 15:22
crisjala5-Apr-10 15:22 

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.