private string getOFD(EnterpriseDS.StoreTableRow store) { //Return delivery days from the dataset string ofd = ""; //OFD1, OFD2, or NONE if (!store.IsIsOutforDeliveryDay1Null()) { ofd += (store.IsOutforDeliveryDay1.Trim() == "Y" ? "DAY1" : ""); } else if (!store.IsIsOutforDeliveryDay2Null()) { ofd += (store.IsOutforDeliveryDay2.Trim() == "Y" ? "DAY2" : ""); } else { ofd += ""; } return(ofd); }