Click here to Skip to main content
11,493,154 members (56,958 online)

.NET Framework

 
GeneralRe: [VB.NET 2008] How to get control on objects created at runtime Pin
Eddy Vluggen7-Dec-12 2:16
memberEddy Vluggen7-Dec-12 2:16 
QuestionTesting Practices Pin
Andrew Stoute5-Dec-12 5:44
memberAndrew Stoute5-Dec-12 5:44 
AnswerRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 6:36
memberEddy Vluggen5-Dec-12 6:36 
GeneralRe: Testing Practices Pin
Andrew Stoute5-Dec-12 6:45
memberAndrew Stoute5-Dec-12 6:45 
GeneralRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 6:53
memberEddy Vluggen5-Dec-12 6:53 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 7:29
mvpDave Kreskowiak5-Dec-12 7:29 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 7:26
mvpDave Kreskowiak5-Dec-12 7:26 
GeneralRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 7:34
memberEddy Vluggen5-Dec-12 7:34 
Dave Kreskowiak wrote:
Personally, I would be checking to see if an actual string was passed in, THEN

The parameter only accepts strings, making this test superfluous.

Dave Kreskowiak wrote:
stripping the data of leading and trailing whitespace if required and then checking for an empty string. String.IsNullOrEmpty doesn't check to see if the string contains non-whitespace characters.

Personally, I don't care for "whitespace"; if a user wants to store three spaces, a tab and a newline, then that's what gets stored. The only place where you "might" want to check it, is when validating input. Remember the NT4-server shutdown dialog? Required a non-null "reason". Did it help? No, a single period was "reason" enough.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 10:55
mvpDave Kreskowiak5-Dec-12 10:55 
GeneralRe: Testing Practices Pin
Eddy Vluggen6-Dec-12 1:08
memberEddy Vluggen6-Dec-12 1:08 
QuestionHow to make a list view and gallerie view on a product page list on some e-commerce Pin
El daniel4-Dec-12 1:19
memberEl daniel4-Dec-12 1:19 
AnswerRe: How to make a list view and gallerie view on a product page list on some e-commerce Pin
Eddy Vluggen4-Dec-12 1:37
memberEddy Vluggen4-Dec-12 1:37 
Questionframework 2.0 and win98 Pin
caradri3-Dec-12 23:37
membercaradri3-Dec-12 23:37 
AnswerRe: framework 2.0 and win98 Pin
Richard MacCutchan4-Dec-12 0:01
mvpRichard MacCutchan4-Dec-12 0:01 
AnswerRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:04
memberEddy Vluggen4-Dec-12 0:04 
AnswerRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:07
protectorPete O'Hanlon4-Dec-12 0:07 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:31
memberEddy Vluggen4-Dec-12 0:31 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:38
protectorPete O'Hanlon4-Dec-12 0:38 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:43
memberEddy Vluggen4-Dec-12 0:43 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:41
protectorPete O'Hanlon4-Dec-12 0:41 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 1:25
membercaradri4-Dec-12 1:25 
GeneralRe: framework 2.0 and win98 Pin
Dave Kreskowiak4-Dec-12 5:11
mvpDave Kreskowiak4-Dec-12 5:11 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 1:23
membercaradri4-Dec-12 1:23 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 1:36
memberEddy Vluggen4-Dec-12 1:36 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 2:52
membercaradri4-Dec-12 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 27 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid