bhavyajyothinat 0 Newbie Poster

Hi..Please help me to find solution for this:


table am using:tbl_Details
Fields in table:UserId(int),FirstName(varchar),LastName(varchar),Image(varchar)

tbl_Details

UserId | FirstName | LastName | Image
----------------------------------------------
1 | Peter | John | ee.jpg
2 | James |Samuel | flower.jpg


In the Website..a folder"Images" contains ee.jpg,flower.jpg

da=new OdbcDataAdapter("select UserId,FirstName,LastName from tbl_Details",con);
da.Fill(dt);
GridView1.DataSource=dt;
GridView1.DatBind();

I want to add a Column(Image) in Gridview..where the corresponding image is to be shown.

How to Programatically do this? pls help...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.