<% @ Page language = "c #"%>
Void BTN_Click (Object sender, Eventargs e) {arraylist x = new arraylist (); if (ViewState ["MYLIST"]! = null) {x = (arraylist) ViewState ["MyList"];} x.Add (DateTime. Now.toTString () " DateTime.now.addminutes (1) .tostring (); ViewState [" MYLIST "] = X; for (int i = 0; i