protected void submitBid_Click(object sender, EventArgs e)
        {
            string ID       = hidId.Value;
            string price    = bidPrice.Value;
            int    bidValue = Int32.Parse(price);

            ResourceOffer ro = marketresources.Find(x => x.Id == Int32.Parse(ID));

            ro.HighestBid    = bidValue;
            ro.HighestBidder = MainClient.player.Name;

            string returnedMessage = MainClient.BidOnResource(ro);

            goldAmount.InnerText = "You have " + MainClient.player.Gold + " pieces of gold";

            if (returnedMessage != "")
            {
                //Message box error
            }
            bidwarning.Visible = false;
            bidPrice.Value     = "";
        }