S
Seth Williams
I have a sqlDataSource, using a stored procedure - the datasource is:
<asp:SqlDataSource ID="dsMembers" runat="server"
ConnectionString="<%$ ConnectionStrings:MainConnectionString %>"
SelectCommand="Get_MemberToUpdate"
SelectCommandType="StoredProcedure"
UpdateCommand="Authorize_Member"
UpdateCommandType="StoredProcedure">
<SelectParameters>
<asp:QueryStringParameter Name="MemberID"
QueryStringField="id" Type="Int32" />
</SelectParameters>
<UpdateParameters>
<asparameter Name="memberID" Type="Int32" />
<asparameter Name="Authorized" Type="Boolean" /> ' This is
a bit field in the database
</UpdateParameters>
</asp:SqlDataSource>
The DetailsView has the DataKeyNames property set correctly - - This was
working and I don't remember changing it in any way.
What could be the problem?
<asp:SqlDataSource ID="dsMembers" runat="server"
ConnectionString="<%$ ConnectionStrings:MainConnectionString %>"
SelectCommand="Get_MemberToUpdate"
SelectCommandType="StoredProcedure"
UpdateCommand="Authorize_Member"
UpdateCommandType="StoredProcedure">
<SelectParameters>
<asp:QueryStringParameter Name="MemberID"
QueryStringField="id" Type="Int32" />
</SelectParameters>
<UpdateParameters>
<asparameter Name="memberID" Type="Int32" />
<asparameter Name="Authorized" Type="Boolean" /> ' This is
a bit field in the database
</UpdateParameters>
</asp:SqlDataSource>
The DetailsView has the DataKeyNames property set correctly - - This was
working and I don't remember changing it in any way.
What could be the problem?