i set the getHyperLink event to do this purpose
Code: Select all
public void DataText2_GetHyperlink(object sender, Stimulsoft.Report.Events.StiValueEventArgs e)
{
// CheckerInfo: GetHyperlinkEvent DataText2
e.Value = "http://www.baidu.com?a="+System.Web.HttpUtility.UrlEncode(up_rpt_PurchaseTypeSum.itemcategroryname);
}
The error of compilation is found in the 'GetHyperlink' event of the 'DataText2' component:
there is no class “HttpUtility” in namespace “System.Web”
what should i do to reference the System.Web.Dll?