A StiUserData component supplies rows on demand through an event — useful when data has no ready-made source.

Register the user data. Define its columns and row count, then wire the data event:
var userData = new StiUserData();
userData.Columns.AddRange(new[] {
    new StiDataColumn("Name",  "Name",  "Name",  typeof(string), null),
    new StiDataColumn("Value", "Value", "Value", typeof(string), null) });
userData.Count = 5;
userData.GetData += stiUserData1_GetData;

Report.RegData("UserData", userData);

How it works. The report pulls values only as it renders, so a virtual data source of any size can be fed row-by-row.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.