Hi Sahene,
Thanks for the sample application. I see what you mean now.
However, what you describe is the exact same behaviour as you will see if you convert your application to Windows Forms, so it is not considered a bug in Visual WebGui.
My suggestion, which is what I usually do for my own applications, is to either allow my users to add the rows directly into the DataGridView, or I do it "manually" as you do with your Button, not both. If you set DataGridView.AllowUsersToAddRows = False and then change your logic for lastrow index to fit the changes, you will see that this problem no longer occurs.
Hope this explains and helps,
Palli