Groups | Blog | Home
all groups > asp.net > june 2004 >

asp.net : Can you tell me how to use "AND" here. It's really urgent. Thank You.


Greg Young
6/21/2004 4:39:22 PM
somecondition orelse someothercondition orselse someothercondition


[quoted text, click to view]

Miguel Dias Moura
6/21/2004 10:25:56 PM
Hi,

i have this line code to hide a table if a database field value is empty:

<table runat="server" visible='<%# dataSetPerson.FieldValue("Book",
Container) <> "" %>' ...

What i want is to HIDE the table if any of these 3 conditions are true:

dataSetPerson.FieldValue("Book", Container) <> ""
OR
dataSetPerson.FieldValue("Author", Container) <> ""
OR
dataSetPerson.FieldValue("Year", Container) <> ""

Basicly i want to know how to use the OR command in it. I am working in
ASP.NET / VB.

Thanks,
Miguel


Martin
6/22/2004 8:58:56 AM
See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vaidxlogical.asp

[quoted text, click to view]

AddThis Social Bookmark Button