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...
0
I am trying to populate my database column with name "StockInTable" using Dapper Plus nugget package. My stockin file is as below.
class Stockin
{
[Key]
public int ID { get; set; }
public DateTime Date { get; set; }
public string Sup_ID { get; set; }
public string Sup_Name...
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.