关于GridView自带更新的问题,怎么更新不啊??
<asp:GridView ID= "GridView1 " runat= "server " AllowPaging= "True " AllowSorting= "True "
AutoGenerateColumns= "False " CellPadding= "4 " DataKeyNames= "lid " DataSourceID= "topickindsSqlDataSource "
ForeColor= "#333333 " GridLines= "None " PageSize= "20 ">
<FooterStyle BackColor= "#507CD1 " Font-Bold= "True " ForeColor= "White " />
<Columns>
<asp:BoundField DataField= "lid " HeaderText= "类别ID " InsertVisible= "False "
ReadOnly= "True " SortExpression= "lid " />
<asp:BoundField DataField= "ltype " HeaderText= "类别名称 " SortExpression= "ltype " />
<asp:TemplateField ShowHeader= "False ">
<EditItemTemplate>
<asp:LinkButton ID= "LinkButton1 " runat= "server " CausesValidation= "True " CommandName= "Update "
Text= "更新 "> </asp:LinkButton>
<asp:LinkButton ID= "LinkButton2 " runat= "server " CausesValidation= "False " CommandName= "Cancel "
Text= "取消 "> </asp:LinkButton>
</EditItemTemplate>
<ItemTemplate>
<asp:LinkButton ID= "LinkButton1 " runat= "server " CausesValidation= "False " CommandName= "Edit "