I tried and still not working. I mean there is a blue underline when I wrote this line:

mydatarow = mydataset.tables("myTable" ).Rows.RemoveAt(currow)

ljCharlie