Click here to Skip to main content
14,087,968 members
Rate this:
Please Sign up or sign in to vote.
See more:
Here is my code, I was able to print First Name and Last name, now I want to print those persons profile image and view details link to show particular person profile page, please help me.

DataTable dt = new DataTable();
SqlDataAdapter sda = new SqlDataAdapter("select [FirstName] + ' ' + [LastName] AS Full_Name from FriendsPersonal", con);
GridView1.DataSource = dt;
GridView1.Visible = true;
Updated 12-Dec-13 3:27am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

:( Please do Google search before posting question, It'll save your massive time.

Check this article
Displaying Images from a Database in a GridView[^]
And do customize based on your requirement.

For Gridview related questions, check this article
CodeProject Frequently Asked Questions Series 1: The ASP.NET GridView[^]
Maciej Los 12-Dec-13 9:28am
abdulsafran 12-Dec-13 10:20am
Thank you very much for your advise thatraja.
thatraja 12-Dec-13 12:13pm

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190518.1 | Last Updated 12 Dec 2013
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100