ReportParameter pb1 = new ReportParameter(); if (!string.IsNullOrEmpty(Request.QueryString["pm1"])) { pb1.Name = "PurchaseMaterial1"; string[] strPb1 = Server.UrlDecode(Request.QueryString["pm1"]).Split(','); string value = Server.UrlDecode(Request.QueryString["pm1"]); if (strPb1.Length > 0) { int i = 0; value = ""; while (i < strPb1.Length) { if (value == string.Empty) { value = "'" + strPb1[i] + "'"; } else { value += ",'" + strPb1[i] + "'"; } i += 1; } } pb1.Values.Clear(); pb1.Values.Add(value);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)