使用winfrom实现增删查功能publicliulan(){InitializeComponent();}publicvoidDataBind(){this.dataGridView1.AutoGenerateColumns=false;stringsql="selectGoods.*,Type.TypeNamefromGoods,TypewhereGoods.TypeID=Type.TypeID";DataTabled