<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();
}
{
int id = e.Row.RowIndex + 1;
e.Row.Cells[0].Text = id.ToString();
}
相关文章
暂无评论...