OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0;" + @"Data source= j:\DB1.MDB"); string selectSQL = "Select Picture from Imagetbl where ImageId= ?"; OleDbDataAdapter custDA = new OleDbDataAdapter(); OleDbCommand selectCMD = new OleDbCommand(selectSQL, conn); custDA.SelectCommand = selectCMD; selectCMD.Parameters.Add("@ImageId", OleDbType.VarChar, 15).Value = 9; DataSet custDS = new DataSet(); custDA.Fill(custDS, "Customers");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)