<asp:TemplateField HeaderText="专辑图片来源">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("img") %>'></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("img") %>'></asp:TextBox>
</InsertItemTemplate>
<ControlStyle Width="300px" />
<ItemStyle VerticalAlign="Top" />
<HeaderStyle VerticalAlign="Top" />
<ItemTemplate>
<asp:Image ID="Image1" runat="server" ImageUrl='<%# Bind("img", "../upload/{0}") %>' />
</ItemTemplate>
</asp:TemplateField>
要是一张图片的话,这样能显出来,,但是有|就不行了