gtjr92
Programmer
- May 26, 2004
- 96
I want to have a bound button that will show some text and the row value on the button. It would say click here to view The field name.
I tried a few variations of the below code with + sumbol and the &.
I am using .net 2 but i guess it would be at least similar to .net 1.1 I am doing this in an item template field, but it could be a bound button as well. I am sure code is the same.
I tried a few variations of the below code with + sumbol and the &.
I am using .net 2 but i guess it would be at least similar to .net 1.1 I am doing this in an item template field, but it could be a bound button as well. I am sure code is the same.
Code:
<asp:Button runat="server" Text="Click here to change the Name for" + " '<%#(Eval("ClassName")) %>'" />