view image on gridview
<asp:TemplateField HeaderText="View Image" >
<ItemTemplate>
<a onclick="javascript:window. open('<%# String.Format("/demopicexam/{ 0}",Eval("pic")) %>','pic','left=20,top=20, width=500,height=500,toolbar= 0,reizable=0');" target="_blank">
Show
</a>
</ItemTemplate>
</asp:TemplateField>