I have a DataList with labels in the Items template which display field data from a datasource. The Datalist is bound dynamically during the Page_Load event. Up to this point, i've been binding the Text property of my Asp labels in the Datalist by putting the code in the HTML window.
Text='<%# DataBinder.Eval(Container.DataItem,"NAME OF FIELD") %>' Now, I need to make sure that the value in the field is not null before I do this binding of the Asp label. How can I do this? Should it still be in the HTML code window, or can the code be placed in some Sub in the Code Behind window? Jeff ------------------------ Yahoo! Groups Sponsor ---------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
