public void TotalCurrntyrInvoice() { DataTable dt = new DataTable(); dt = ddo.TotalCurrntyrInvoice(); int a = dt.Rows.Count; if (a > 0) { Label1.Text = a.ToString(); } else if (a == 0) { Label1.Text = "0"; } }
public void TotalCurrntyrInvoice() { DataTable dt = new DataTable(); dt = ddo.TotalCurrntyrInvoice(); int a = dt.Rows.Count; if (a > 0) { Label1.Text = a.ToString(); } else if (a == 0) { Label1.Text = "0"; } }