A
Agnes
My datagrid is bind to a datatable , and i need to remove the blank amount
before save()
Now, if my datatable got over 4000 records, It really take a long time to
remove each of them ,
Does any easier and smart way to do ? Thanks in advance
Dim drTemp As DataRow
FOR Each drTemp In dtRvDetail.Select("debit=0 and credit=0 and voucherno ='"
& Me.txtVoucherNo.Text.Trim & "' ")
dtRvDetail.Rows.Remove(drTemp)
Next
before save()
Now, if my datatable got over 4000 records, It really take a long time to
remove each of them ,
Does any easier and smart way to do ? Thanks in advance
Dim drTemp As DataRow
FOR Each drTemp In dtRvDetail.Select("debit=0 and credit=0 and voucherno ='"
& Me.txtVoucherNo.Text.Trim & "' ")
dtRvDetail.Rows.Remove(drTemp)
Next