Update add customer query
This commit is contained in:
parent
56610459ba
commit
02421864b1
@ -56,7 +56,7 @@ namespace QueueSys
|
|||||||
{
|
{
|
||||||
using (IDbConnection cnn = new SQLiteConnection(LoadConnectionString()))
|
using (IDbConnection cnn = new SQLiteConnection(LoadConnectionString()))
|
||||||
{
|
{
|
||||||
string strQuery = "INSERT INTO active_customers (customer_name, num_bags, employee, status_id) VALUES (@customer_name, @num_bags, @employee, @status)";
|
string strQuery = "INSERT INTO active_customers (customer_name, num_bags, employee, status_id) VALUES (@customer_name, @num_bags, @employee, 3)";
|
||||||
cnn.Execute(strQuery, customer);
|
cnn.Execute(strQuery, customer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user