Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey,
i am using oracle9i and c# asp.net code to show image in datagridview and i am set all property in datagridview but this code not show image,
C#
try
       {
          con.Open();
          OracleDataAdapter da = new OracleDataAdapter("select * from sysadm.document"con);
           //OracleDataAdapter da = new OracleDataAdapter("select USERID,DOCUMENT from sysadm.document",con);
           DataSet ds = new DataSet();
           da.Fill(ds,"aaaaa");
           G1.DataSource = ds;
           G1.DataBind();
           con.Close();
       }
       catch
       { con.Close(); }
Posted
Updated 11-Mar-12 20:39pm
v2
Comments
uspatel 12-Mar-12 2:42am    
do you have path of image in database or image in database?

 
Share this answer
 
What error you getting in your code?
Have a look on this,hope you get some help,
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_24688088.html[^]
 
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