更新时间:2023-02-03 09:34:18
您可以使用Eval
绑定相同的链接按钮.试试这个:
You can useEval
to bind the same linkbutton. Try this:
<asp:linkbutton id="ImgLnk" runat="server" onclick="lnkCustomer_Click" commandname="CustomerLink" text='<%# Eval("ImgLnk") %>' />
请记住,URL
是gridview数据源中的列,该列将包含所有行的URL''s
.
--Amit
Remember, URL
is the column in your gridview datasource which will contain the URL''s
for all the rows.
--Amit