Exemplo n.º 1
0
    protected bool ShowAsLink(object obj)
    {
        WasteTransfers.ResultHazardousWasteRecievingCountry row = (WasteTransfers.ResultHazardousWasteRecievingCountry)obj;

        if (row.RecievingCountryCode == null ||
            row.RecievingCountryCode.Equals("TOTAL_KEY"))
        {
            return(false);
        }
        else
        {
            return(true);
        }
    }
Exemplo n.º 2
0
 protected string GetQuantityUnspecified(object obj)
 {
     WasteTransfers.ResultHazardousWasteRecievingCountry row = (WasteTransfers.ResultHazardousWasteRecievingCountry)obj;
     return(QuantityFormat.Format(row.QuantityUnspecified, row.QuantityCommonUnit));
 }
Exemplo n.º 3
0
 protected string GetFacilities(object obj)
 {
     WasteTransfers.ResultHazardousWasteRecievingCountry row = (WasteTransfers.ResultHazardousWasteRecievingCountry)obj;
     return(NumberFormat.Format(row.NumOfFacilities));
 }
Exemplo n.º 4
0
 protected string GetCountryName(object obj)
 {
     WasteTransfers.ResultHazardousWasteRecievingCountry row = (WasteTransfers.ResultHazardousWasteRecievingCountry)obj;
     return(LOVResources.CountryName(row.RecievingCountryCode, Resources.GetGlobal("Common", "CONFIDENTIAL")));
 }
Exemplo n.º 5
0
 protected string GetCountryCode(object obj)
 {
     WasteTransfers.ResultHazardousWasteRecievingCountry row = (WasteTransfers.ResultHazardousWasteRecievingCountry)obj;
     return(row.RecievingCountryCode);
 }
Exemplo n.º 6
0
 protected bool ShowFacilityLink(object obj)
 {
     WasteTransfers.ResultHazardousWasteRecievingCountry row = (WasteTransfers.ResultHazardousWasteRecievingCountry)obj;
     return(row.ShowAsLink);
 }