public Boolean GetData() { // Remove the Q from quote ID if exists // Retrieve row from WebQuote table using the quoteID // Return true if valid quote if (QuoteId.Substring(0, 1) == "Q") { QuoteId = QuoteId.Substring(1, QuoteId.Length - 1); } int i = new int(); if (int.TryParse(this.QuoteId, out i)) { WebQuote = BV2.VW_OMCWebQuote.Where(q => q.QuoteID == i).FirstOrDefault(); } return(DetermineQuoteType()); }