If I want to implement what you want to,I'll read the GIF from the 
database into a imagelist and then bind my tollbarbutton to with 
the imagelist.

解决方案 »

  1.   

    关键是在我把GIF图形数据读到IMAGELIST中。
    我试图把数据直接读入的时候,说错误,该如何实现。
      

  2.   

    IMAGELIST中的值在程序运行时是只读的!根本不能修改!
    除非你加到资源文件中。
      

  3.   

    问题已经解决:System.Collections.ImageList imgList=new System.Collections.ImageList();Byte[] tempByte="数据库中的BINARY数据";
    System.IO.Stream fs=new System.IO.MemoryStream();
    fs.Write(tempByte,0,tempByte.Length);
    System.Drawing.Image tempImg=System.Drawing.Image.FromStream(fs);
    imgList.Images.Add(tempImg);
      

  4.   

    问题已经解决:System.Collections.ImageList imgList=new System.Collections.ImageList();Byte[] tempByte="数据库中的BINARY数据";
    System.IO.Stream fs=new System.IO.MemoryStream();
    fs.Write(tempByte,0,tempByte.Length);
    System.Drawing.Image tempImg=System.Drawing.Image.FromStream(fs);
    imgList.Images.Add(tempImg);不见斑竹来结帖,只好给自己的另外一个帐号分了