HTML:
<asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="false"><Columns><asp:TemplateField HeaderText="Model"><ItemStyle HorizontalAlign="Center" Width="200" /><ItemTemplate><asp:LinkButton ID="lnkGvmodel" runat="server" Text='<%# Bind("model") %>' CommandArgument='<%# Eval("model") %>' PostBackUrl='<%# String.Format("~/ats/model.aspx?model={0}", Eval("model"))%>'></asp:LinkButton></ItemTemplate></asp:TemplateField></Columns></asp:GridView>
沒有留言:
張貼留言