I just began DB programming, and I'm having trouble with how I make the form add a new record to the database when the user submits the information on the form. I'd also like to make it where if the user runs the program, and has already submitted once, it will update only the boxes with text in them. I've already made the database, and the form, but when I try to run it I get the error message:
An unhandled exception of type 'System.Security.SecurityException' occurred in Student Information.exe
Additional information: Request failed.
When this error message comes up, it highlights the
line. When this happens, I have the option to 'Break', 'Continue', or 'Help'. Can anyone help me fix the problems so I can run my program?