Syrup should wash out of any washable fabric, but the color might stain. This may not wash out. The restaurant should reimburse for dry cleaning or replacement, if washing is not an option or doesn't work.
What is the dress made of? If it's cotton, boiling it may shrink the dress. If it's a washable fabric, I suggest simply soaking it in cool water with a bit of detergent. Syrup is simply sugar water, and should dissolve easily in water. Any traces of oil (from accompanying sausages or whatever) should be taken care of by the detergent. Of course, if your dress is made of a non-washable fabric, then I'd suggest the services of a dry cleaner. Not the most economical way to clean, but certainly more frugal than purchasing a new dress!
Login using the form on the top of the page to post feedback (if you are a registered user). If you have not yet registered, click here to do so. It's FREE!.