private void btnUpdateVendor_Click(object sender, EventArgs e)
        {
            if (!(String.IsNullOrEmpty(txtVendorName.Text) || String.IsNullOrWhiteSpace(txtVendorName.Text)))
            {
                GeneralMethods.UpdateVendor(VID, txtVendorName.Text);
                MessageBox.Show("Vendor successfully updated!");
                this.Close();
            }

            else
            {
                MessageBox.Show("Please enter a valid name for the vendor!", "Error");
            }
        }