<Columns> <asp:BoundField DataField="ItemListID" HeaderText="ItemListID" SortExpression="ItemListID" Visible="False" /> <asp:TemplateField ConvertEmptyStringToNull="False" HeaderText="所属类别" SortExpression="ItemTypeID"> <ItemTemplate> <%#Eval("ItemTypeID.ItemTypeName")%> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="ItemListName" HeaderText="体检项目名称" SortExpression="ItemListName" /> <asp:CheckBoxField DataField="IsGood" HeaderText="必查项目" SortExpression="IsGood" /> <asp:BoundField DataField="Standard" HeaderText="参考值" SortExpression="Standard" /> <asp:BoundField DataField="Price" HeaderText="价格" SortExpression="Price" /> <asp:BoundField DataField="Info" HeaderText="说明" SortExpression="Info" /> <asp:TemplateField HeaderText="操作"> <ItemTemplate> <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl=‘<%#Eval("ItemListID","~/WebForm2.aspx?id={0}") %>‘>修改</asp:LinkButton> </ItemTemplate> </asp:TemplateField> </Columns>
时间: 2024-11-08 07:14:35