예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            TestServiceClient ts = new TestServiceClient();

            ds = ts.GetBookInfo();
            d  = ds.Tables[0];
            int rowCount = d.Rows.Count;

            //  TextBox1.Text = arr[0].ToString();
            AddControls();
            //  byte[] ba = (byte[])d.Rows[3]["Image"];
            //  MemoryStream mStream = new MemoryStream(ba);
            // System.Drawing.Image img1 = byteArrayToImage(ba);



            //string base64String = Convert.ToBase64String(ba, 0, ba.Length);
            //Image1.ImageUrl = "data:image/png;base64," + base64String;
        }