Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <asp:HyperLinkField DataNavigateUrlFields="LocalIP"
- DataNavigateUrlFormatString="DailyResults.aspx?
- Terms={0}&column=LocalIP&
- startdate=Calendar1.SelectedDate.Date.Date.ToShortDateString()
- DataTextField="LocalIP" HeaderText="User" />
- protected override gv1_RowDataBound(object sender, GridViewRowEventArgs e)
- {
- HyperLink hl = new Hyperlink();
- hl.NavigateUrl = string.Format("DailyResults.aspx?Terms={0}&column=LocalIP&startdate={1}", localIp, Calendar1.SelectedDate.Date.Date.ToShortDateString());
- .. set other hyperlink fields ..
- e.Row.Cells[1].Controls.Add(hl);
- }
- <asp:HyperLinkField DataNavigateUrlFormatString="<%=GetSelectedDate()%>....
- <asp:HyperLinkField DataNavigateUrlFields="LocalIP"
- DataNavigateUrlFormatString='<%# "DailyResults.aspx?Terms={0}&column=LocalIP&startdate=" + Calendar1.SelectedDate.Date.Date.ToShortDateString() %> DataTextField="LocalIP" HeaderText="User" />
Add Comment
Please, Sign In to add comment