Reference data in a SqlDataSource

Last post 10-28-2008 12:44 PM by rmosher@wellsfargo.com. 0 replies.

Sort Posts:

  • Reference data in a SqlDataSource

    10-28-2008, 12:44 PM

    I'm new(er) to asp.net and I'm trying to relate concepts to my ColdFusion background.

    So, if I want to reference a specific peice of data from a dataset and add it to a link in CF I would do something like this:

    <a href="http://www.someURL.com?ID=<cfoutput>#myDataSource.ID#</cfoutput>">MyLink</a>
    

     How do you do this in asp.net?  Isn't there some way I can just do a Response.Write("mySqlDataSource.ID") or something similar?

Page 1 of 1 (1 items)