Ejemplo n.º 1
0
 private void FrmSetupTax_Load(object sender, EventArgs e)
 {
     Services.get_GUI a = new get_GUI();
     DataTable taxRate = a.GetTaxRate(StaticClass.storeId);
     creTextBox1.Text = String.Format("{0:0.##}",(Convert.ToDecimal(taxRate.Rows[0]["Tax1_Rate"])*100));
     creTextBox2.Text = String.Format("{0:0.##}", (Convert.ToDecimal(taxRate.Rows[0]["Tax2_Rate"]) * 100));
     creTextBox3.Text = String.Format("{0:0.##}", (Convert.ToDecimal(taxRate.Rows[0]["Tax3_Rate"]) * 100));
 }