定义数据集就是把表拉到.xsd的界面的名称如图(http://hi.csdn.net/attachment/201106/9/0_13076420264QqD.gif )
T_UsersTableAdapter adapter = new T_UsersTableAdapter();记得添加引用类型;
转载于:https://www.cnblogs.com/lzhp/archive/2011/06/10/2680821.html