I'm having a problem, so i have a form that contains an "insert and new" and an "insert and close" buttons . the insert and new button lets you insert a row and reopens the form to insert another row . but the insert and close button closes after adding a row . Anyways my problem is the following : I am using the command field in order to insert,update or delete from my database .
the insert and close button is working but the insert and new button is not because I'm not being able to add a row in my table . I just want to see if i can add an "Insert and new"button in my command field so i could use it (knowing that i already used all the buttons( delete,insert,update..) .
Thanks .
Please try with the below code snippet.
ASPX
ASPX.CS