1

I'm just starting to use the ASP.NET MVC.

i am thinking of adding an "Add New Row" button to the top to add a new data row to the table/grid in a form.

Initially, I want the grid/table to be empty, with only headers of table to be displayed. however, if there are no data rows, the whole grid doesn't appear.

Is there any why by which I can do display empty table and can add new rows dynamically.

And at end of page I want "Submit" button by clicking on that button all the rows which I have added using "Add New Row" in the table will be added in database.

I also need option to Edit , delete each row before submitting.

Please suggest me the way to perform the above operation.

1 Answer 1

1

Up to your questions:

  1. The grid should display empty even if there is no data. I am not sure what went wrong. You can paste some code.
  2. Batch editing is not currently supported. You can insert or edit one row at a time.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.