Store Image in DataTable

Posted by Aizaz on Stack Overflow See other posts from Stack Overflow or by Aizaz
Published on 2009-10-09T11:04:15Z Indexed on 2010/06/10 5:02 UTC
Read the original article Hit count: 271

Filed under:
|
|
|
|

I want to store image into my datatable and while adding colum I want to set its default value, sending you code doing with checkboxes..

public void addCheckBoxesRuntime(){ for (int i = 0; i < InformationOne.Length; i++) { dt = new DataColumn(InformationOne[i][1] + " (" + InformationOne[i][0] + " )");

            dt.DataType = typeof(Boolean);

            viewDataTable.Columns.Add(dt);
            dt.DefaultValue = false;                
        }

}

© Stack Overflow or respective owner

Related posts about wpf

Related posts about images