예제 #1
0
        private void loadInf(string price, string name)
        {
            List <String> list   = new List <string>();
            float         asd    = (float)Convert.ToDouble(price);
            int           price1 = Convert.ToInt32(asd);

            list                        = bll.Get_Plate_ToClient(name, price1);
            TextBoxName.Text            = list[0];
            TextBoxPrice.Text           = list[1];
            TextBoxFullDescription.Text = list[2];
            idPlateToOrder              = list[3]; //ID del Plato a agregar a la lista de Ordenes
            if (list.Count > 4)
            {
                Image1.ImageUrl = String.Format(@"data:image/jpg;base64,{0}", list[4]);
            }
        }