【Vegas原创】GridView前台绑定HyperLink参数&自动编号 <asp:HyperLinkField DataTextField="trano" DataNavigateUrlFormatString="dl_type.aspx?trano={0}" DataNavigateUrlFields="trano" HeaderText="申请单编号" /> Rowdatabound实践中: if (e.Row.RowIndex != -1) { int id = e.Row.RowIndex + 1; e.Row.Cells[0].Text = id.ToString(); } 喜欢请赞赏一下啦^_^