public static ManualDataSet CreateData()
        {
            ManualDataSet ds    = new ManualDataSet();
            DataTable     table = ds.Tables["table"];

            table.Rows.Add(new object[] { 0,
                                          @"{\rtf1\deff0{\fonttbl{\f0 Times New Roman;}}{\colortbl\red0\green0\blue0 ;\red0\green0\blue255 ;}{\*\listoverridetable}{\stylesheet {\ql\cf0 Normal;}{\*\cs1\cf0 Default Paragraph Font;}{\*\cs2\sbasedon1\cf0 Line Number;}{\*\cs3\ul\cf1 Hyperlink;}}\sectd\pard\plain\ql{\b\cf1 Test}{\b\cf1  }{\b\cf0 1}}",
                                          @"{\rtf1\deff0{\fonttbl{\f0 Times New Roman;}}{\colortbl\red0\green0\blue0 ;\red0\green0\blue255 ;\red255\green0\blue0 ;}{\*\listoverridetable}{\stylesheet {\ql\cf0 Normal;}{\*\cs1\cf0 Default Paragraph Font;}{\*\cs2\sbasedon1\cf0 Line Number;}{\*\cs3\ul\cf1 Hyperlink;}}\sectd\pard\plain\ql{\b\cf2 Test}{\b\cf1  }{\b\ul\cf0 2}}" });

            return(ds);
        }
Example #2
0
 private void XtraReport1_DataSourceDemanded(object sender, System.EventArgs e)
 {
     this.DataSource = ManualDataSet.CreateData();
 }