سلام
من با کد یک گزارش کاملا پویا استیمول طارحی کردم. فقط نمی دونم چطور میتونم اعداد رو با کد سه رقم سه رقم از هم جدا کنم.
اینم کد:
StiReport stiR = new StiReport();
            stiR.Load(Application.StartupPath + ("\\RCustomReport.mrt"));
            StiPage pagestiR = stiR.Pages[0];
            pagestiR.PaperSize = System.Drawing.Printing.PaperKind.A4;
            //StiReport report = new StiReport();
            stiR.ScriptLanguage = StiReportLanguageType.CSharp;
            //Add data to datastore
            stiR.RegData("view", dataView);
            //Fill dictionary
            stiR.Dictionary.Synchronize();
            StiPage page = stiR.Pages.Items[0];
            page.Orientation = StiPageOrientation.Landscape;
            page.Margins.Left = 0.5;
            page.Margins.Right = 0.5;
            //Create Table
            StiTable table = new StiTable();
            table.Name = "Table1";
            table.AutoWidth = StiTableAutoWidth.Table;
            table.AutoWidthType = StiTableAutoWidthType.FullTable;
            table.ColumnCount = sender.ColumnCount;
            table.RowCount = 2;
            table.HeaderRowsCount = 1;
            table.FooterRowsCount = 0;
            table.Width = page.Width;
            table.Height = page.GridSize;
            table.DataSourceName = "view" + dataView.Table.TableName;
            page.Components.Add(table);
            table.CreateCell();
            table.TableStyle = StiTableStyle.Style11;
            int indexHeaderCell = sender.ColumnCount - 1;
            int indexDataCell = sender.ColumnCount * 2 - 1;
            int n = 0;
            while (n < sender.ColumnCount)
            {
                //Set text on header
                StiTableCell headerCell = table.Components[indexHeaderCell] as StiTableCell;
                headerCell.Text.Value = sender.Columns[n].HeaderText;
                headerCell.Border = new StiBorder(StiBorderSides.All, Color.FromArgb(0, 0, 0), 0, StiPenStyle.Solid);
                headerCell.HorAlignment = StiTextHorAlignment.Center;
                headerCell.VertAlignment = StiVertAlignment.Center;
                headerCell.WordWrap = true;
                headerCell.Font = new System.Drawing.Font("B nazanin", 9F, System.Drawing.FontStyle.Bold);
                headerCell.Height = 3;
                headerCell.Width = 1;
                StiTableCell dataCell = table.Components[indexDataCell] as StiTableCell;
                dataCell.Text.Value = "{view" + dataView.Table.TableName + "." + Stimulsoft.Report.CodeDom.
                    StiCodeDomSerializator.ReplaceSymbols(sender.Colum  ns[n].Name) + "}";
                dataCell.Border = new StiBorder(StiBorderSides.All, Color.FromArgb(0, 0, 0), 0, StiPenStyle.Solid);
                dataCell.ShrinkFontToFit = true;
                dataCell.HorAlignment = StiTextHorAlignment.Center;
                dataCell.VertAlignment = StiVertAlignment.Center;
                dataCell.Font = new System.Drawing.Font("B nazanin", 9F, System.Drawing.FontStyle.Regular);
                dataCell.Format = "N0";
                indexHeaderCell--;
                indexDataCell--;
                n++;
            }
stiR.Render(false);
            stiR.Show();