Results 1 to 2 of 2

Thread: datalist bind problem...

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    datalist bind problem...

    Hi there. I hope you are in the best of health

    I need some help....

    I have a asp.net page, and it binds to a stored proc (the data) in SQL Server.

    Great, i get the results i require.

    So i get the fields:

    ThreadName (made into a hyperlink button using the navigateurl databind control)
    User

    and other data

    stored proc is simply:

    SELECT * FROM Threads

    ok...

    Threads table has the fields ThreadID, ThreadName, UserID and some other fields

    What i want is, the User dataitem in the grid/list to show the username from "Accounts" table for each record it retrieves from the stored proc

    its hard explaining but i hope you understand. if not, please let me know. I really would like some replies

    thank-you

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: datalist bind problem...

    sorted, SQL Server statement had to be modified to use JOIN statement works like a charm - for now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width