Exemplo n.º 1
0
        private void save_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[3];
            int      nbrinput = 0;

            strinput[0] = EMPID.Text;
            strinput[1] = JobTitle.Text;
            strinput[2] = Salary.Text;



            nbrinput = 3;

            retval = appcomp.showData(strinput, nbrinput);
        }
        private void save_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[4];
            int      nbrinput = 0;

            strinput[0] = itemID.Text;
            strinput[1] = ONHand.Text;
            strinput[2] = Descr.Text;
            strinput[3] = cost.Text;



            nbrinput = 4;

            retval = appcomp.showData(strinput, nbrinput);
        }
Exemplo n.º 3
0
        private void save_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[5];
            int      nbrinput = 0;

            strinput[0] = txtProductID.Text;
            strinput[1] = txtName.Text;
            strinput[2] = txtPrice.Text;
            strinput[3] = txtBrandID.Text;
            strinput[4] = txtOnHand1.Text;


            nbrinput = 5;

            retval = appcomp.showData(strinput, nbrinput);
        }
        private void save_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[6];
            int      nbrinput = 0;

            strinput[0] = txtPromotionID.Text;
            strinput[1] = txtPromoTitle.Text;
            strinput[2] = txtPromoDesc.Text;
            strinput[3] = txtPromoStart.Text;
            strinput[4] = txtPromoEnd.Text;
            strinput[5] = txtPromoCreated.Text;

            nbrinput = 6;

            retval = appcomp.showData(strinput, nbrinput);
        }