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") %>'
thats my code
Text='<%# Bind("web_address") %>'
ASKER
nope in my gridview
<asp:LinkButton ID="lblWebsite" runat="server" Text='<%# Bind("web_address") %>'
CommandArgument='<%# Bind("web_address") %>' OnCommand="lblWebsite_Comm and" OnClientClick="aspnetForm. target ='_blank';"></asp:LinkButt on>
the url is jcweb.co.za from the database i want to format it so it show www.jcweb.co.za
<asp:LinkButton ID="lblWebsite" runat="server" Text='<%# Bind("web_address") %>'
CommandArgument='<%# Bind("web_address") %>' OnCommand="lblWebsite_Comm
the url is jcweb.co.za from the database i want to format it so it show www.jcweb.co.za
ASKER
nope i just want to add text to my bind
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
just follow the link
http://www.codersource.net/asp-net/asp-net-2-0/grid-view-control-in-asp-net-2-0.aspx
http://www.codersource.net/asp-net/asp-net-2-0/grid-view-control-in-asp-net-2-0.aspx
TextBlock.Text = "Bind" + someText;
Let me know if this what you are looking for.