A list of binding dataGridView the first name of the table: "QXJ" chapter 2 table name: "qxjjilu
"DataRow row=dataSet. The Tables (" QXJ "),
.
The dataSet. Tables [" QXJ "]. Rows. The Add (row);
DataRow row1=dataSet. The Tables (" qxjjilu "),
.
The dataSet. Tables [" qxjjilu "]. Rows. The Add (row1);
This. QxjTableAdapter. Update (dataSet);//success/update/qxjjilu QXJ table table no update and no error message
CodePudding user response:
To recognize to help, I really is powerless the ~CodePudding user response:
DataSet and Table so long useless, proposed to read the data in the database layer entity class c #, if disrelish entity to create trouble, T4 can be used to generate entity class, also can use EF (generation is T4) to automatically generate entity class,CodePudding user response:
Don't quite understand ~ I am small white one, a great god don't use so many terms!