I was putting together an Excel add-in with some User Defined Functions (UDFs), using C#. Based on excelDNA documentation, I created a class that checks to see if OPTIONAL Excel arguments are present in a UDF. And if not, it assigns a default value.
I created a couple of simple test functions...
Good evening,
I get an error on this line :
command.Parameters.AddWithValue("@chambreCat", Convert.ToInt32(cbAdminCat.Text));
I want to be able to convert my character string to INT otherwise I could not insert the value into the database if it is not an integer.
Here is the code for my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.