How to refresh a bindingsource

前端 未结 2 432
别跟我提以往
别跟我提以往 2021-01-21 14:48

This is really driving me nuts, I have a datagridview bound to a bindingsource, on the click of a button I add new objects to my database using my datacontext, how can I make t

2条回答
  •  [愿得一人]
    2021-01-21 15:18

    I already tried setting the datasource of the binding source again but it wont work

    Set it to null, then set it to the actual data source again. It should do the trick...

提交回复
热议问题