开发者

reload/refresh data in TableAdapter without fill again

开发者 https://www.devze.com 2022-12-31 04:49 出处:网络
I have 2 forms, in one of them I show DataTable rows in a combo box. and in second form, I will edit that rows.

I have 2 forms, in one of them I show DataTable rows in a combo box. and in second form, I will edit that rows. How can i reload that开发者_如何学Go changes that are made by second form, in first form? I don't wanna use TablaAdpater.Fill for reload! thanks a million


Re-bind your DataTable with your combobox.


If it's the same data table then try to refresh the data source of your combo box. else rebind.

0

精彩评论

暂无评论...
验证码 换一张
取 消