SqlCommand cmd_cust = new SqlCommand(@"insert into custdetail values ('" + txtInvoiceNo.Text + "','" + txtCustomerName.Text + "','" + txt_contact.Text + "', '" + txtAddress.Text + "', '" + txt_total_amt.Text + "', '" + dt_date.Value.ToString("dd-MM-yyyy") + "')", con_create); con_create.Open(); cmd_cust.ExecuteNonQuery(); con_create.Close();
dt_date.Value
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)