Get the data using Id

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chris123
    New Member
    • Mar 2008
    • 1

    Get the data using Id

    <asp:SqlDataSou rce runat="server"
    ID="MySource"
    ConnectionStrin g="SERVER=(loca l);
    DATABASE=northw ind;Integrated Security=SSPI;"
    SelectCommand=" SELECT * FROM employees WHERE employeeid > @MinID">
    <SelectParamete rs>
    <asp:ControlPar ameter Name="MinID"
    ControlId="EmpI D"
    PropertyName="T ext" />
    </SelectParameter s>
    </asp:SqlDataSour ce>
  • balabaster
    Recognized Expert Contributor
    • Mar 2007
    • 798

    #2
    Okay... so you have an SqlDataSource that's running a query based on what you enter in a textbox called EmpId...

    What are you doing with the data?

    Comment

    Working...