Karthik K

Karthik K

  • 830
  • 738
  • 192.4k

How post back to another page when click image in datalist ?

Dec 2 2017 12:15 AM
 
Hi  Friends, 
 
        I want post back to another page in datalist , when i click the image ,I can share the image ., can anyone suggest to the appropriate code with example .Here PID Is the datakeyname for the datalist controls 
 
Code : 
 
<ItemTemplate>
<table style="margin-left:0px" width="315px">
<tr>
<td align="center"><img src='<%#Eval("ImagePath").ToString() %>' width="140px" height="150px" / alt=""></td>
</tr>
<tr>
<td align="justify"><b>&nbsp;Title : </b><%#Eval("Title")%><br />
<b>&nbsp;Description : </b><%#Eval("Description")%><br />
<b>&nbsp;Price : Rs <%#string.Format("{0:0}",Eval("Price")) %> </b> <br />
<b>&nbsp;ItemCode : </b> <%#Eval("SourceCode")%></td>
</tr>
</table>
</ItemTemplate>
 
   
 
   

Answers (1)