I am trying to create a new table in a database which has a name of checkout and a check number which ive put in {0}. But when I run the program it comes up with the error shown
In this sample you've called String.Format with a string containing place holders {0} but provided no arguments. You need to either remove the place holders or provide an argument to fill in the {0} slot
If you want to literally put {0} into the string then don't use String.Format or properly escape them via {{0}}.