/ Published in: ASP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- This code goes into the page as a control !--> <asp:SqlDataSource ID="[enterid]" runat="server" ConnectionString="<%$ ConnectionStrings:[enter database connection name] %>" SelectCommand="[enter sql string]" UpdateCommand="[enter sql string]"> <UpdateParameters> <asp:Parameter Name="intConv" Type="Int32" /> </UpdateParameters> <SelectParameters> <asp:ControlParameter ControlID="gvPlayerList" Name="idPlayerID" PropertyName="SelectedValue" Type="Decimal" /> </SelectParameters> </asp:SqlDataSource>
Comments
