mercredi 30 décembre 2015

Adding web controls to asp.net table at runtime

I would like to add asp.net literal web controls to a table at runtime at regular timer intervals. The controls will get there static values from an instance of a class that is an array.

I am not an OOP buff but from my understanding I need to declare this class once and then keep referring to the values it is storing since I will need these values to provide text values for the web controls.

Here is the thing I keep getting null reference exception thrown despite initializing not just the class as an array, but each of the items in the array of the class.

Why?...




Aucun commentaire:

Enregistrer un commentaire