Click here to Skip to main content
15,896,522 members
Home / Discussions / C#
   

C#

 
AnswerRe: Variable Declared Pin
Guffa22-Jul-07 18:54
Guffa22-Jul-07 18:54 
GeneralRe: Variable Declared Pin
Muhammad Nauman Yousuf22-Jul-07 20:23
Muhammad Nauman Yousuf22-Jul-07 20:23 
GeneralRe: Variable Declared Pin
Christian Graus22-Jul-07 20:56
protectorChristian Graus22-Jul-07 20:56 
GeneralRe: Variable Declared Pin
Malcolm Smart22-Jul-07 21:00
Malcolm Smart22-Jul-07 21:00 
GeneralRe: Variable Declared Pin
Malcolm Smart22-Jul-07 20:58
Malcolm Smart22-Jul-07 20:58 
GeneralRe: Variable Declared Pin
Muhammad Nauman Yousuf22-Jul-07 22:00
Muhammad Nauman Yousuf22-Jul-07 22:00 
GeneralRe: Variable Declared Pin
J4amieC22-Jul-07 22:09
J4amieC22-Jul-07 22:09 
GeneralRe: Variable Declared Pin
Guffa22-Jul-07 23:14
Guffa22-Jul-07 23:14 
J4amieC wrote:
if(string.IsNullOrEmpty(Request.QueryString["myVariable"]))
{
// the variable does not exist in the URL
}


Actually, if the string is an empty string, the variable does exist in the url.

if (Request.QueryString["myVariable"] == null) {
   // the variable does not exist in the URL
}

if (string.IsNullOrEmpty(Request.QueryString["myVariable"])) {
   // the variable does not exist in the URL, or is empty
}


---
single minded; short sighted; long gone;

GeneralRe: Variable Declared Pin
Luc Pattyn23-Jul-07 2:31
sitebuilderLuc Pattyn23-Jul-07 2:31 
AnswerRe: Variable Declared Pin
Christian Graus22-Jul-07 18:57
protectorChristian Graus22-Jul-07 18:57 
AnswerRe: Variable Declared Pin
Sathesh Sakthivel22-Jul-07 19:23
Sathesh Sakthivel22-Jul-07 19:23 
QuestionData Transfer Pin
Le Hoang Viet22-Jul-07 18:34
Le Hoang Viet22-Jul-07 18:34 
AnswerRe: Data Transfer Pin
Christian Graus22-Jul-07 18:48
protectorChristian Graus22-Jul-07 18:48 
QuestionWebcam Server Pin
Le Hoang Viet22-Jul-07 15:51
Le Hoang Viet22-Jul-07 15:51 
AnswerRe: Webcam Server Pin
Christian Graus22-Jul-07 17:04
protectorChristian Graus22-Jul-07 17:04 
QuestionBinary into ASCII Pin
ScIeNcE_ErRoR22-Jul-07 15:01
ScIeNcE_ErRoR22-Jul-07 15:01 
AnswerRe: Binary into ASCII Pin
Luc Pattyn22-Jul-07 15:24
sitebuilderLuc Pattyn22-Jul-07 15:24 
GeneralRe: Binary into ASCII Pin
ScIeNcE_ErRoR22-Jul-07 16:05
ScIeNcE_ErRoR22-Jul-07 16:05 
GeneralRe: Binary into ASCII Pin
Luc Pattyn22-Jul-07 17:23
sitebuilderLuc Pattyn22-Jul-07 17:23 
GeneralRe: Binary into ASCII Pin
ScIeNcE_ErRoR23-Jul-07 13:51
ScIeNcE_ErRoR23-Jul-07 13:51 
GeneralRe: Binary into ASCII Pin
Luc Pattyn23-Jul-07 14:17
sitebuilderLuc Pattyn23-Jul-07 14:17 
QuestionPowerPoint Pin
half-life22-Jul-07 13:25
half-life22-Jul-07 13:25 
AnswerRe: PowerPoint Pin
Paul Conrad22-Jul-07 15:53
professionalPaul Conrad22-Jul-07 15:53 
AnswerRe: PowerPoint Pin
Luc Pattyn22-Jul-07 17:33
sitebuilderLuc Pattyn22-Jul-07 17:33 
GeneralRe: PowerPoint Pin
Paul Conrad22-Jul-07 18:26
professionalPaul Conrad22-Jul-07 18:26 

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.