delete row in GridView bind on Data Table?
<p>I am a new newbie in using asp.net. I have a problem on how to delete selected row in a grid bind on a datatable. the requirement is that the total price unit will be deducted from the price of that particular item. can anyone can give idea about this matter??? thanks in advance :D</p>

<p>Dim i As Integer = DataGridView1.CurrentRow.Index
                   lbl_totalpriceunit.Text = Val(lbl_totalpriceunit.Text) -Val(tbl.Columns("Amount").Table.Rows(i).Item(3))</p>

<pre><code>                txt_price.Text = "0"
                txt_description.Text = ""
                txt_quantity.Text = "0"
                txt_productcode.Text = "00000"
                TextBox1.Text = "0.00"
                Label3.Text = "0.00"
                tbl.Rows.RemoveAt(i)
</code></pre>
