★五一到了,送51分★,顺便帮我看看这个好久没有解决的问题!
我是菜鸟一个,可能很简单,别笑我啊!
在使用gridview控件时,启用了 "启用删除 ",数据源里面也生成了删除啊,为什么点击 "删除 "后一点作用都不起呢???
代码如下:
---------------------------------------------
<asp:GridView ID= "GridView1 " runat= "server " AutoGenerateColumns= "False " BackColor= "White "
BorderColor= "#E7E7FF " BorderStyle= "None " BorderWidth= "1px " CellPadding= "3 " DataSourceID= "SqlDataSource1 "
GridLines= "Horizontal " Width= "600px ">
<FooterStyle BackColor= "#B5C7DE " ForeColor= "#4A3C8C " />
<Columns>
<asp:BoundField DataField= "Title " HeaderText= "包含的栏目 " SortExpression= "Title ">
<ItemStyle HorizontalAlign= "Center " />
</asp:BoundField>
<asp:TemplateField HeaderText= "修改 ">
<ItemStyle HorizontalAlign= "Center " />
<ItemTemplate>
<a href= 'edit.aspx?source=AboutUs&id= <%# Eval( "USID ") %> ' class= "lj1 "> <asp:Label ID= "lblEdit " runat= "server "