how do I implement a rapid gridview with two columns, with ability to add rows by clicking the add button, and remove in the same way.
I look for plugins, but often contain many unnecessary option in my case, I’m looking for something fairly simple.
solution jquery, ajax.. I’m using ASP.net (C #)
I’ve already prepare this for insert data:
for (int i = 0; i < GridViewProducts.Rows.Count; i++)
{
Int32 _qteProduct;
_qteProduct= Int32.Parse(GridViewProducts.Rows[i].Cells[0].Text);
Int32 _refProduct;
_refProduct= Int32.Parse(GridViewProducts.Rows[i].Cells[1].Text);
command.updateListProduct(_qteProduct, _refProduct);
}
I would highly recommend using the ListView instead; it will be much easier to do this. Matt Berseth did something similar with the listview. HTH.