Quick question regarding ODS and Gridview using a BLL. I have my class and function setup to add a new record to the table. I've configured the source to the method, class and everything. (all Insert parameters of the ODS were assigned in this process automatically)
Now, I can't remember for the life of me if I need to set the CommandName of the submit button to "Insert". I tried this and it's expecting me to have an InsertMethod for the GridView. Anyone know what I am doing wrong with the Gridview?
I get the following error after pressing the "submit" button which I would like to trigger the INSERT method of my BLL: TargetInvocationException was unhandled by user code: Exception has been thrown by the target of an invocation.
Thanks in advance