R
Ryan Liu
Hi,
In the same application, some other form inserted some data to the
database.
To refresh the DataGridView on the form shows those data, I just simple use
Adapter fill the grid again.
//auto-generated code
this.projectTableAdapter.Fill(this.dsPowerCapi.project);
This works, but is this "right" way to do? I feel it is not very elegant.
Thanks,
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Ryan Liu
Shanghai Fengpu Software Co. Ltd
Shanghai , China
http://www.PowerCATI.com Powerful CATI!
http://www.fpsoft.net.cn
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
In the same application, some other form inserted some data to the
database.
To refresh the DataGridView on the form shows those data, I just simple use
Adapter fill the grid again.
//auto-generated code
this.projectTableAdapter.Fill(this.dsPowerCapi.project);
This works, but is this "right" way to do? I feel it is not very elegant.
Thanks,
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Ryan Liu
Shanghai Fengpu Software Co. Ltd
Shanghai , China
http://www.PowerCATI.com Powerful CATI!
http://www.fpsoft.net.cn
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.