datarow and dataset
C#
2
Posts
2
Posters
0
Views
1
Watching
-
How can i add and remove rows in datatable in dataset? thanks for help
MD_NADA
-
How can i add and remove rows in datatable in dataset? thanks for help
MD_NADA
add row : DataRow dr=dataset.table["tablename"].newrow(); dr["columnname"]="value"; ... dataset.table["tablename"].rows.add(dr); remove row: dataset.table["tablename"].rows[row].remove(); if you want to add more rows from other datatable ,or remove mores rows , you can use while statement to do
Sorry ...