Hmmm...I tried your suggestion and I got a compile error CS1002: ; expected
> -----Original Message----- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > Chris Anderson > Sent: Thursday, April 11, 2002 7:42 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] <asp:hyperlink> and databinding funkiness > > You can try > > NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "Uri") & "\" & > DataBinder.Eval(Container.DataItem, FileName") %>' > > But then you sometimes get problems with the ampersands being converted > to & !! > > Merak > > > -----Original Message----- > > From: dotnet discussion [mailto:[EMAIL PROTECTED]] > > On Behalf Of Deepak Rao > > Sent: 12 April 2002 00:44 > > To: [EMAIL PROTECTED] > > Subject: <asp:hyperlink> and databinding funkiness > > > > > > I am not able to do this > > > > <asp:hyperlink runat="server" NavigateUrl='<%# > > DataBinder.Eval(Container.DataItem, "Uri") %>\<%# > > DataBinder.Eval(Container.DataItem, "FileName")' Text='Uri' /> > > > > I get a compile error about preprocessor directives. Does > > anybody know how I can concatenate two databound values in > > the NavigateUrl property of a HyperLink control? > > > > Any help is appreciated. > > > > Thanks > > > > Deepak > > > > You can read messages from the DOTNET archive, unsubscribe > > from DOTNET, or subscribe to other DevelopMentor lists at > > http://discuss.develop.com. > > > > --- > > Incoming mail is certified > > Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.345 / Virus Database: 193 - Release Date: 09/04/2002 > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.345 / Virus Database: 193 - Release Date: 09/04/2002 > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.