1
Answer

About DataGridView...

Ask a question
yusuf

yusuf

16y
3.1k
1

Hi everyone...

I m trying to delete data in database by selecting the row from dataGridView. It is deleted from datatable with the code below :

dt.Rows[dataGridView1.CurrentRow.Index].Delete();

i typed  dataAdapter.Update(dt); but did not effect the database.

Thank you...

 

 

 

 

 


Answers (1)