如何在图像上有文字的datagridview单元中显示图像. [英] how to display the image in the datagridview cell having text on the image..
本文介绍了如何在图像上有文字的datagridview单元中显示图像.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在设计页面中有datagridview ...我必须显示一列带有图像字段,而且我还必须在图像上显示文本...我想要对此进行C#编码..pls帮助
我想要Windows应用程序的C#编码... pls help
im having datagridview in the design page...i have to display one column with image field and also i have to display the text on the image...i want a C# coding for this..pls help
i want the C# coding for windows application...pls help
推荐答案
HI,
添加图像按钮以在gridview中添加图像.
add imagebutton to add image in gridview.
<ItemTemplate>
<asp:ImageButton runat="server" ID="imageButton" ImageUrl='<%# Eval("objimg") %>' CommandName="image" CommandArgument='<%# Eval("id") %>' OnClick="imageButtonCilck" />
</ItemTemplate>
问候,
shefeek
regards,
shefeek
这篇关于如何在图像上有文字的datagridview单元中显示图像.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文