It depends what type & quantity of data are you using:
Example 1.
Showing one line of text, at a time, from a text file or table, on a text control.
Example 2.
Showing a single record / entity from a table, in a panel with several controls,
in which each control is a property or field from an entity. The entity has several fields or properties.
Example 3
Showing a list of entities / records, in a control, like list, treeview or gridview.
Example 1.
You may have a function in your app., where another function is called, with a single reference variable, where the value is going to be stored.
Example 2.
You may have a function in your app., where another function is called, with a single reference variable, where, the variable may be a pointer / reference to a "struct" or "object" that the values are going to be stored.
Example 3.
For example 3, there are 2 ways.
(3.1) you may have a function in your app., where another function is called, with a single reference variable, where the variable is collection / list / open array, where each element is an entity or object.
(3.2) you may have a function in your app., where a function is called, in a loop, each time, a single reference variable, where, the variable may be a pointer / reference to a "struct" or "object" that the values are going to be stored. Each time the loop is called the recovered object is displayed in the G.U.I., or added to a collection, and, later, displayed in the G.U.I.
Cheers.