For example, as follows: For example, your class [serializable] class user {public string name; public int Age;} The first button is saved User1 = new user (); user1.name = "zhuye"; user1.age = 23; User (); user2.name = "chengli"; user2.age = 21; arraylist al = new arraylist (); al.add (user1); al.add (user2); ViewState ["data"] = Al; the second button is a read operation arraylist al = (arraylist) ViewState ["data"]; foreach (user o in al) {response.write (oname " O.AGE
" }