Even though some sites say that it can be done using class level definitions and arrays, they do not give examples. I could not find anything on this subject on the net. Moreover, there is nothing containing square brackets, curly brackets and special signs <%. I do not like elements such as datalist gridview append datalist.