Author: Nathan

Binding a Repeater control to a jagged array

Binding the Repeater in the code-behind is done just like with any other binding operation. Suppose we have a jagged array named myJagged (which we didn’t initialize with values in this example) and a Repeater named myRepeater: // Initialize the string arraystring[][] myJagged; // Remember to initialize the array with valuesmyRepeater.DataSource = GroupList;myRepeater.DataBind(); While binding the array to the repeater is done the […]

Back To Top