Link to home
Start Free TrialLog in
Avatar of JCWEBHOST
JCWEBHOST

asked on

gridview bind

hey i want to add text in front of my text with a bind?
thats my code

Text='<%# Bind("web_address")  %>'
Avatar of codenhack
codenhack
Flag of India image

string someText = "Some text";
TextBlock.Text = "Bind" + someText;

Let me know if this what you are looking for.
Avatar of JCWEBHOST
JCWEBHOST

ASKER

nope in my gridview

 <asp:LinkButton ID="lblWebsite" runat="server" Text='<%# Bind("web_address")  %>'
                                    CommandArgument='<%# Bind("web_address") %>' OnCommand="lblWebsite_Command" OnClientClick="aspnetForm.target ='_blank';"></asp:LinkButton>


the url is jcweb.co.za from the database i want to format it so it show www.jcweb.co.za
I guess this is what you need:

http://forums.asp.net/t/1389833.aspx
nope i just want to add text to my bind
ASKER CERTIFIED SOLUTION
Avatar of codenhack
codenhack
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial