Hi All,
I am working with grid view, The data will bind from sql,
My problem with i am using array to delete a single row,
After deleting the row, when i added another one, the deleted row also showing me.
Ex:
SelectItem ADD.
Gridview:
1. Delete Apple Cost
2. Delete Mango Cost
3. Delete Pain apple Cost
The data is from SQL. i want to delete 3rd row. and want to insert another one. but i am getting like this.
Gridview:
1. Delete
2. Delete
3. Delete
4. Delete Orange Cost
I am using array to delete rows.
My Code is:
GV_Order.Rows.RemoveAt(e.RowIndex);
Array.Clear(arr,e.RowIndex,5);
Please help me