Click here to Skip to main content
15,910,878 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
txtNotes.Text=SelectedRow.Cells[(int)GridColumns.Notes].Text;
txtRemarks.Text=SelectedRow.Cells[(int)GridColumns.Remarks].Text;
chkIsResign.Checked = Convert.ToBoolean(SelectedRow.Cells[(int)GridColumns.IsResign].Text) ? true : false;
txtResignDate.Text = SelectedRow.Cells[(int)GridColumns.ResignDdate].Text;

imgLoader.ImageUrl = filename + GridView1.DataKeys[RowIndex].Values["EmpImage"].ToString();

employeepopupextender.Show();
Posted
v2
Comments
Samresh.ss 26-Sep-13 2:38am    
put a debugger and check if the url assigned to imageurl is the proper one.
Er Daljeet Singh 26-Sep-13 6:53am    
Dude Check whether you gridview i giving you the url of the image or not.
if it is giving url then check wheter image exist in your application folder or not.

1 solution

my problem solved i just put html image ctrl and set its image.src

imgDisplay.src = filename + GridView1.DataKeys[RowIndex].Values["EmpImage"].ToString();
 
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