DataNavigateUrlFormatString 传多个参数
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" Font-Size="12px" GridLines="Horizontal">
<Columns>
<asp:BoundField DataField="TaskID" Visible="False" />
<asp:HyperLinkField Text="监控" Target="_blank" DataNavigateUrlFormatString="流程监控.aspx?TaskID={0}" DataNavigateUrlFields="TaskID"/>
<asp:HyperLinkField Text="打开" Target="_blank" DataNavigateUrlFormatString="Midlle.aspx?StepLabel={1}&TaskID={0}" DataNavigateUrlFields="TaskID,StepLabel"/>
</Columns>
<FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
<RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
<AlternatingRowStyle BackColor="#F7F7F7" />
</asp:GridView>
</div>
</form>
</body>
</html>