效果图: 前台调用: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using ExportCells; namespace WebApplication1 { public partial class _Default : Sy…
1.创建Book类,并编写set方法和get方法 package com.bean; public class Book { private int id; private String name; private String type; // public int a; public String getType() { System.out.println("调用了类型方法"); return type; } public void setType(String type) {…