Click here to Skip to main content
16,022,971 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
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");


Unable to bind it on Picture box please help.
Posted
Updated 5-Nov-11 19:43pm
v2
Comments
thatraja 6-Nov-11 1:43am    
Any error?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900