首页 新闻 赞助 找找看

CommandName="Edit"不进入插入模式

0
悬赏园豆:5 [已解决问题] 解决于 2010-09-15 21:40

<asp:FormView ID="FormView1" runat="server" AllowPaging="True"
HorizontalAlign
="Center" onpageindexchanging="FormView1_PageIndexChanging">
<EditItemTemplate>
<asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("id") %>'></asp:Label>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("name") %>'></asp:Label>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("age") %>'></asp:Label>
<asp:Button ID="Button1" runat="server" CommandName="Edit" Text="Button" />
</ItemTemplate>
</asp:FormView>

 

为什么我单击按钮后不进入插入模式?

问题补充: 刚打错字了,不是“插入”是“编辑”
时间都去哪了的主页 时间都去哪了 | 初学一级 | 园豆:51
提问于:2010-09-15 12:01
< >
分享
最佳答案
0

软件问题

收获园豆:5
行之素来 | 初学一级 |园豆:145 | 2010-09-15 21:38
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册