• Thanks for the replies. It's running a sql stored procedure that has one argument. It's working well for the one argument, I just need to know how to modify the windows form. A configuration file is not going to be suitable, it's been in use for some time by an end user. I want to expand it to 20 variables, I just want it to store whatever is entered, if anything is entered.

    I would really appreciate it if a visual C# expert could tell me how to modify the windows form to take 20 strings, then how to convert the strings to 20 variables. I know it is not ideal.

    Many thanks