public string doanhThuTheoNam(string nm) { DataTable infotable = hd.doanhThuTheoNam(nm); if (infotable.Rows.Count == 0) { return("0"); } return(((long)double.Parse(infotable.Rows[0].ItemArray[0].ToString())).ToString("0,000")); }