Click here to Skip to main content
15,887,302 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello All, I have two tables tblProfilePic and tblComments as Follows

tblProfilePic		
UserID	Image	ImagePath
2001	user1	\\srv1\ProfilePic\user1.jpg
2002	user2	\\srv1\ProfilePic\user2.jpg
2003	user3	\\srv1\ProfilePic\user3.jpg


tblComment	
UserID	CommentText
2001	sample text
2003	hello
2001	text here
2002	comment by user2


I need to replace userID field of tblComment with ProfilePic Mathing from tblProfilePic.

(for tblProfilePic i can use imagepath from a shared folder / i can upload image to sql database, either methode is ok for me)

Any help will be highly appreciated
Thank You

What I have tried:

I can now display tblComment in a datagridview
Posted
Comments
Vincent Maverick Durano 13-Jun-18 3:00am    
Are you talking about Windows Form's DataGridView or ASP.NET GridView control?

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