<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:connectionString %>" SelectCommand="SelectDetails" InsertCommand="InsertDetails" UpdateCommand="UpdateDetails" DeleteCommand="DeleteDetails" SelectCommandType="StoredProcedure"> <InsertParameters> <asp:ControlParameter Name="Name" ControlID="nameTxt" Type="String" /> <asp:ControlParameter Name="ID" ControlID="idTxt" Type="Decimal" /> </InsertParameters> <UpdateParameters> <asp:ControlParameter Name="Name" ControlID="nameTxt" Type="String" /> <asp:ControlParameter Name="ID" ControlID="idTxt" Type="Decimal" /> </UpdateParameters> <DeleteParameters> <asp:ControlParameter Name="ID" ControlID="idTxt" Type="Decimal" /> </DeleteParameters> </asp:SqlDataSource>
InsertCommandType
UpdateCommandType
DeleteCommandType
StoredProcedure
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)