locked
parameter is not valid RRS feed

  • Question

  • User843229376 posted

    I'm trying to get image from database into picturebox


    pictureBox1.Image = Image.FromStream(new MemoryStream((byte[])ds.Tables[0].Rows[i].ItemArray[0]));


    But I am getting error:

    parameter is not valid


    Please help me.

    Tuesday, April 13, 2010 5:04 AM

Answers

  • User145828751 posted

    Please check the dataTable, if you able to get the rows from the database......

    your Item Array does not load the parametes from the db....




    Thankx

    Bijoy Joseph


    Mark this as answer, if this helps you out.... Smile

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, April 17, 2010 3:16 AM