日期:2014-05-18  浏览次数:20507 次

GridView传值问题高手帮忙啊~~~~
<asp:Image   ID= "Image1 "   runat= "server "   ImageUrl= "~/Images/宫内要闻_head.jpg "   /> &nbsp; <asp:GridView   ID= "GridView1 "   runat= "server "   AllowPaging= "True "   AllowSorting= "True "  
                AutoGenerateColumns= "False "   DataKeyNames= "NewsTitle "   DataSourceID= "AccessDataSource1 "  
                Width= "520px "   OnSelectedIndexChanged= "GridView1_SelectedIndexChanged "     >
                <Columns>
                        <asp:BoundField   DataField= "NewsID "   HeaderText= "NewsID "   ReadOnly= "True "   SortExpression= "NewsID "   />
                        <asp:BoundField   DataField= "NewsTitle "   HeaderText= "NewsTitle "   SortExpression= "NewsTitle "   />
                        <asp:BoundField   DataField= "PudDate "   HeaderText= "PudDate "   SortExpression= "PudDate "   />
                                                  <asp:HyperLinkField   HeaderText= "新闻标题 "   Text= "NewsTitle "   DataNavigateUrlFields= "NewsTitle "   DataNavigateUrlFormatString= "~/宫内要闻/news_more.aspx?GoodsID={0} "   Target= "mainframe "   NavigateUrl= "~/宫内要闻/news_more.aspx "   DataTextField= "NewsTitle "   >
                                        </asp:HyperLinkField>
                        <asp:TemplateField   HeaderText= " "   ShowHeader= "False ">
                                <ItemStyle   ForeColor= "black "   />
                                <ItemTemplate>
                                        <asp:LinkButton   ID= "LinkButton1 "   runat= "server "   OnClick= "LinkButton1_Click "     CausesValidation= "False "   CommandName= " "
                                                Text= ' <%#   Bind( " ")   %> '>   target= "_blank "> <%#   Eval( "Title ")   %>