A
AAaron123
Do I have to do more than the following to get the Edit button to work?
Should the user be able to edit the data when the Edit button is clicked
without any code by me?
When the button is clicked I must get a postback because Page_Load runs
(nothing in there executes).
Thanks for any help at all
<%@ Page AutoEventWireup="false"
....snip
<asp:FormView ID="FormViewUsers" DataSourceID="SqlDataSourceUsers"
AllowPaging="true"
DataKeyNames="UserID" HeaderText="Users' Current Record" EmptyDataText="No
users found."
runat="server">
<HeaderStyle HorizontalAlign="Center" Wrap="false" />
<RowStyle Wrap="false" />
<PagerStyle />
<ItemTemplate>
<asp.table runat="server" gridlines="Both">
....snip
<tr>
<td colspan="2">
<asp:linkbutton id="Edit"
text="Edit"
commandname="Edit"
runat="server"/>
</td>
Should the user be able to edit the data when the Edit button is clicked
without any code by me?
When the button is clicked I must get a postback because Page_Load runs
(nothing in there executes).
Thanks for any help at all
<%@ Page AutoEventWireup="false"
....snip
<asp:FormView ID="FormViewUsers" DataSourceID="SqlDataSourceUsers"
AllowPaging="true"
DataKeyNames="UserID" HeaderText="Users' Current Record" EmptyDataText="No
users found."
runat="server">
<HeaderStyle HorizontalAlign="Center" Wrap="false" />
<RowStyle Wrap="false" />
<PagerStyle />
<ItemTemplate>
<asp.table runat="server" gridlines="Both">
....snip
<tr>
<td colspan="2">
<asp:linkbutton id="Edit"
text="Edit"
commandname="Edit"
runat="server"/>
</td>