Re: If( ) multiple conditions
From: Miha Markic [MVP C#] (miha)
Date: 03/21/04
- Next message: Derek Harmon: "Re: If( ) multiple conditions"
- Previous message: EMW: "New to ASP: webserver???"
- In reply to: Andrew Banks: "If( ) multiple conditions"
- Next in thread: Derek Harmon: "Re: If( ) multiple conditions"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 21 Mar 2004 19:25:34 +0100
Hi Andrew,
&& performs a shortcut and operator
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
"Andrew Banks" <banksy@nojunkblueyonder.co.uk> wrote in message
news:TWk7c.22418$qi6.481283204@news-text.cableinet.net...
> How can I tst for multiple conditions in C#?
>
> I'm currently testing for !Page.IsPostBack and also want to test a URL
> parameter. I'm not quite sure how to construct this.
>
> if(!Page.IsPostBack AND Request.QueryString["Refreshed"].ToString()=="1")
> {
> do something
> }
>
>
- Next message: Derek Harmon: "Re: If( ) multiple conditions"
- Previous message: EMW: "New to ASP: webserver???"
- In reply to: Andrew Banks: "If( ) multiple conditions"
- Next in thread: Derek Harmon: "Re: If( ) multiple conditions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|