using (OleDbConnection con = newOleDbConnection(connection))
{
using (OleDbCommand cmd = newOleDbCommand("SELECT UserID,UserNameAR,CountryAR,MemberAR,qrimg FROM AllPrinting"))
{
using (OleDbDataAdapter sda = new OleDbDataAdapter())
{
cmd.Connection = con;
sda.SelectCommand = cmd;
using (DataSetImage dsimage = new DataSetImage())
{
sda.Fill(dsimage, "DataTable1");
return dsimage;
}
}
}
}
}