I bind text data type is correct, but the wrong type of image. You see if that helps. The code I wrote is as follows: Code in simpleButton4_Click
DataTable data = User.getInfo();
rptUser rpt = new rptUser();
rpt.DataSource = data;
rpt.BinData();
rpt.ShowPreview();
Code in xtrareport
public void BinData()
{
xrTableCell3.DataBindings.Add("Text", DataSource, "username");
xrTableCell4.DataBindings.Add("Text", DataSource, "full_name");
xrPictureBox1.DataBindings.Add("Image", DataSource, "img");
}
Please help me! :(