protected override void Render(HtmlTextWriter writer)
        {
            string str = this.Page.Request.QueryString["productIds"];

            if (!string.IsNullOrEmpty(str))
            {
                DataTable skuUnderlingPrices = SubSiteProducthelper.GetSkuUnderlingPrices(str);
                if ((skuUnderlingPrices != null) && (skuUnderlingPrices.Rows.Count > 0))
                {
                    StringBuilder sb = new StringBuilder();
                    sb.AppendLine("<table cellspacing=\"0\" border=\"0\" style=\"width:100%;border-collapse:collapse;\">");
                    sb.AppendLine("<tr class=\"table_title\">");
                    sb.AppendLine("<th class=\"td_right td_left\" scope=\"col\">货号</th>");
                    sb.AppendLine("<th class=\"td_right td_left\" scope=\"col\" style=\"width:300px;\">商品</th>");
                    sb.AppendLine("<th class=\"td_right td_left\" scope=\"col\">市场价</th>");
                    sb.AppendLine("<th class=\"td_right td_left\" scope=\"col\">我的采购价</th>");
                    sb.AppendLine("<th class=\"td_right td_left\" scope=\"col\">一口价</th>");
                    for (int i = 7; i < skuUnderlingPrices.Columns.Count; i++)
                    {
                        string columnName = skuUnderlingPrices.Columns[i].ColumnName;
                        columnName = columnName.Substring(columnName.IndexOf("_") + 1) + "价";
                        sb.AppendFormat("<th class=\"td_right td_left\" scope=\"col\">{0}</th>", columnName).AppendLine();
                    }
                    sb.AppendLine("</tr>");
                    foreach (DataRow row in skuUnderlingPrices.Rows)
                    {
                        this.CreateRow(row, skuUnderlingPrices, sb);
                    }
                    sb.AppendLine("</table>");
                    writer.Write(sb.ToString());
                }
            }
        }
        protected override void Render(System.Web.UI.HtmlTextWriter writer)
        {
            string text = this.Page.Request.QueryString["productIds"];

            if (!string.IsNullOrEmpty(text))
            {
                DataTable skuUnderlingPrices = SubSiteProducthelper.GetSkuUnderlingPrices(text);
                if (skuUnderlingPrices != null && skuUnderlingPrices.Rows.Count > 0)
                {
                    System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder();
                    stringBuilder.AppendLine("<table cellspacing=\"0\" border=\"0\" style=\"width:100%;border-collapse:collapse;\">");
                    stringBuilder.AppendLine("<tr class=\"table_title\">");
                    stringBuilder.AppendLine("<th class=\"td_right td_left\" scope=\"col\">货号</th>");
                    stringBuilder.AppendLine("<th class=\"td_right td_left\" scope=\"col\" style=\"width:300px;\">商品</th>");
                    stringBuilder.AppendLine("<th class=\"td_right td_left\" scope=\"col\">市场价</th>");
                    stringBuilder.AppendLine("<th class=\"td_right td_left\" scope=\"col\">我的采购价</th>");
                    stringBuilder.AppendLine("<th class=\"td_right td_left\" scope=\"col\">一口价</th>");
                    for (int i = 7; i < skuUnderlingPrices.Columns.Count; i++)
                    {
                        string text2 = skuUnderlingPrices.Columns[i].ColumnName;
                        text2 = text2.Substring(text2.IndexOf("_") + 1) + "价";
                        stringBuilder.AppendFormat("<th class=\"td_right td_left\" scope=\"col\">{0}</th>", text2).AppendLine();
                    }
                    stringBuilder.AppendLine("</tr>");
                    foreach (DataRow dataRow_ in skuUnderlingPrices.Rows)
                    {
                        this.CreateRow(dataRow_, skuUnderlingPrices, stringBuilder);
                    }
                    stringBuilder.AppendLine("</table>");
                    writer.Write(stringBuilder.ToString());
                }
            }
        }