熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

asp.net 前台 對列進行加工

2013-11-13 10:27:57  來源: .NET編程 

  <asp:TemplateField HeaderText=稿件>

  <EditItemTemplate>

  <asp:TextBox ID=TextBox runat=server Text=<%# Eval([sServerVirtualityPathHttpRemotesOppositePathsSmallPhotoFileName]) %>></asp:TextBox>

  </EditItemTemplate>

  <ItemStyle FontSize=pt Width=% HorizontalAlign=Center VerticalAlign=Middle />

  <HeaderStyle FontSize=pt Width=% HorizontalAlign=Center VerticalAlign=Middle />

  <ItemTemplate>

  <table >

  <tr>

  <td >

  <a <%# stringFormat( PhotoInformationaspx?ImageID={}&sType={}&sImage= DataBinderEval(ContainerDataItem sGuidIDDataBinderEval(ContainerDataItem sGuidIDtBaseDraftType)) %>

  target=_blank>

  <asp:Image ID=Image runat=server ImageUrl=<%# stringFormat({}/{}/small/{}DataBinderEval(ContainerDataItem sServerVirtualityPathHttpRemoteDataBinderEval(ContainerDataItem sOppositePathDataBinderEval(ContainerDataItem sSmallPhotoFileName)) %>

  Height=px Width=px /><asp:HyperLink ID=HyperLink_txt runat=server Visible=False

  Target=_blank>HyperLink</asp:HyperLink></td>

  </tr>

  </table>

  </ItemTemplate>

  </asp:TemplateField>


From:http://tw.wingwit.com/Article/program/net/201311/13735.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.