Return to Snippet

Revision: 11515
at February 8, 2009 12:25 by wrburgess


Initial Code
<!-- 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>

Initial URL


Initial Description


Initial Title
Data Connection Control in ASP.NET 3.5

Initial Tags
aspnet

Initial Language
ASP