April 8th, 2013, 08:58 PM
[C#] Unbound Data Repeater - is it possible?
I'm kicking around in Visual Studio just experimenting more than anything, really - and I'm now trying to simply add elements to a Data Repeater by hard coding instead of just data binding. Is this at all possible? I didn't think this would actually be hard but I'm stumped.
Also - hi, I'm new!
April 15th, 2013, 08:14 PM
The repeater must have a data source. If you want to add items at run time, add them to the source. You can also try using a projection (.Select()) off of the Enumerable.Range() method as the data source.