web developer tips (64): 在GridView中转换BoundField为TemplateField
2009-11-18 – 10:37
原文地址:How to convert a GridView column from asp:BoundField to asp:TemplateField in Design View
假定你有个数据源SqlDataSource1 ,绑定了一个简单的查询语句,返回Customers表的详细信息。
http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:MyConnectionString %>"
SelectCommand="SELECT [FirstName], [LastName], [Email] FROM [Customers] ORDER BY
[FirstName]">
</asp:SqlDataSource>
在Visual Studio里,在web ......[阅读全文]
分类: Visual Studio | 没有评论 »

