private void saveSupplier_Click(object sender, RoutedEventArgs e) { int retval = 0; Datamgmt datamgmt = new Datamgmt(); string[] strinput = new string[8]; int nbrinput = 0; strinput[0] = txtSupID.Text; strinput[1] = txtCompany.Text; strinput[2] = txtEmail.Text; strinput[3] = txtPhone1.Text; strinput[4] = txtAddress.Text; strinput[5] = txtCity.Text; strinput[6] = txtState.Text; strinput[7] = txtZip.Text; nbrinput = 8; retval = datamgmt.showData(strinput, nbrinput); }
private void btnSubmit_Click(object sender, RoutedEventArgs e) { int retval = 0; Datamgmt datamgmt = new Datamgmt(); string[] strinput = new string[4]; int nbrinput = 0; strinput[0] = txtEmployeeID.Text; strinput[1] = txtFirstName.Text; strinput[2] = txtLastName.Text; strinput[3] = txtEmployeeEmail.Text; nbrinput = 4; retval = datamgmt.showData(strinput, nbrinput); }
private void btnSubmit_Click(object sender, RoutedEventArgs e) { int retval = 0; Datamgmt datamgmt = new Datamgmt(); string[] strinput = new string[4]; int nbrinput = 0; strinput[0] = txtPromoID.Text; strinput[1] = txtPromoName.Text; strinput[2] = txtItemName.Text; strinput[3] = txtPromodate.Text; nbrinput = 4; retval = datamgmt.showData(strinput, nbrinput); }
private void btnSubmit_Click(object sender, RoutedEventArgs e) { int retval = 0; Datamgmt datamgmt = new Datamgmt(); string[] strinput = new string[7]; int nbrinput = 0; strinput[0] = txtServiceID.Text; strinput[1] = txtCustomerID.Text; strinput[2] = txtFirstName.Text; strinput[3] = txtLastName.Text; strinput[4] = txtServiceDesc.Text; strinput[5] = txtDate.Text; strinput[6] = txtServicePrice.Text; nbrinput = 7; retval = datamgmt.showData(strinput, nbrinput); }