public BUS.Day DuLieuKV(int maday) { DataSet ds = day.LayDLMotDong(maday); BUS.Day dv = new BUS.Day(); dv.Maday = Convert.ToInt32(ds.Tables[0].Rows[0]["MaDay"]); dv.Makv = ds.Tables[0].Rows[0]["MaKV"].ToString(); dv.Tenday = ds.Tables[0].Rows[0]["TenDay"].ToString(); return(dv); }