G
Guest
My DataGrid is bound to DataView as follow
DataGrid1.DataSource = myDS.Tables("Client_Consultant").DefaultView
User can either delete all the rows in the DataGrid on by pressing "Delete All" button or provide Client_Consulatnt_ID and press "Delete" button to delete rows with that Client_Consulatnt_ID. My question is:
1. How can i delete all the rows on click of a button.
2. How can i remove all the rows with particular Client_Consulatnt_ID
thanx
DataGrid1.DataSource = myDS.Tables("Client_Consultant").DefaultView
User can either delete all the rows in the DataGrid on by pressing "Delete All" button or provide Client_Consulatnt_ID and press "Delete" button to delete rows with that Client_Consulatnt_ID. My question is:
1. How can i delete all the rows on click of a button.
2. How can i remove all the rows with particular Client_Consulatnt_ID
thanx