dataset with datagrid
C#
2
Posts
2
Posters
0
Views
1
Watching
-
i have data set linked with table adapter(which is already linked with table in the database) and i have datgrid linked with the dataset and when i add values to the table in the db, the added values does not add to the dataset and so does not add to the data grid. WHY?
-
i have data set linked with table adapter(which is already linked with table in the database) and i have datgrid linked with the dataset and when i add values to the table in the db, the added values does not add to the dataset and so does not add to the data grid. WHY?
I think the values which u r adding to the table in DB those are not reflecting in that table. Try like this, After adding values to the table dt.AcceptChanges(); // dt means DataTable