Why I cant add the value on the last query (EventEndDate
)
string insertQuery = "INSERT INTO eventreservation(EventID,CustomerName,CustomerIC," +
"CustomerPhone,StartDate,EndDate) VALUES('" + txtEventID.Text + "'," +
"'" + txtCustomerName.Text + "','" + txtCustomerIC.Text + "','" +
txtCustomerPhone.Text + "','" + EventStartDate.Text + "'," +
EventEndDate.Text + ")";