Add new Row to DataTable

前端 未结 4 840
囚心锁ツ
囚心锁ツ 2021-01-16 03:46

I have a DataGrid bind to a database with one Table and one Column (FooTable and FooName). With my following code, I can bind DataGrid to Dat

4条回答
  •  难免孤独
    2021-01-16 04:44

    Try adding this to the end of your DataSet_Add_Click method

    dg1.Items.Refresh();
    

提交回复
热议问题