Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: conditions with c#


Message #1 by "Evan" <raisorsharp@h...> on Tue, 5 Nov 2002 22:23:45
I'm clueless and I hope someone can help me with this problem.

In VB I used to show hide certain HTML area's using conditions IF / 
THEN / ELSE etc. etc.

(following example using DreamweaverMX and conditional regions in VB

<MM:If runat="server" Expression='<%# (dsMemberProfile.FieldValue
("ZipCode", Container) <> "") %>'> 
<ContentsTemplate> Zip Code:></ContentsTemplate> 
</MM:If> 
<%# dsMemberProfile.FieldValue("ZipCode", Container) %>

BUT - HOW, do I accomplish something like this in C#?, I need to show 
hide certain text area's etc. etc.

THNX!

Evan

  Return to Index