Datagrid refresh
-
hi! i have a datagrid with a buttoncolumn "delete" which deletes a row from the database. Can you tell what do i have to do so that the datagrid doesn't displays anymore the row i just deleted? ( the data grid' data source is a dataset which takes the data from a sored procedure). Thanks!
-
hi! i have a datagrid with a buttoncolumn "delete" which deletes a row from the database. Can you tell what do i have to do so that the datagrid doesn't displays anymore the row i just deleted? ( the data grid' data source is a dataset which takes the data from a sored procedure). Thanks!
You should get the data from your dataSet after deleting a record. At your delete button press event; write the code to reload the dataset and databind method of dataGrid. --junior coder--