Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. supply data for web control field

supply data for web control field

Scheduled Pinned Locked Moved ASP.NET
csharpdatabaseasp-netsql-serverlinq
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 8217517
    wrote on last edited by
    #1

    Problem: I want the "TextBoxOrgName.Text" of a detailview control to contain the organization name. I am working on a C# asp.net 2010 webform application. In a detailview control I want to place the organization name into the cell called "TextBoxOrgName.Text". The problem is I do not have the 'organization name' in the LinqDataSource1 listed below. I want setup a new linq data source to obtain the organization name value value listed below or place the value from a session variable here. Can you tell me how I could accomplish this goal? [^] [^] Here are a few additional notes: 1. I know the best solution probably would be to bring in value in linqdataource1. However the organization name column is not part of the table that I want to update in the sql server 2008 r2 database. I am thinking linqdataource1 should only be the table I want updated from this particular webpage correct? 2. This is a data entry application and the user enters the organization name on the first webpage. The user clicks the next button from the first page and now we are on the second data entry page. I have the organization name available on the second page as a session varirable obtained from the first page

    L 1 Reply Last reply
    0
    • M Member 8217517

      Problem: I want the "TextBoxOrgName.Text" of a detailview control to contain the organization name. I am working on a C# asp.net 2010 webform application. In a detailview control I want to place the organization name into the cell called "TextBoxOrgName.Text". The problem is I do not have the 'organization name' in the LinqDataSource1 listed below. I want setup a new linq data source to obtain the organization name value value listed below or place the value from a session variable here. Can you tell me how I could accomplish this goal? [^] [^] Here are a few additional notes: 1. I know the best solution probably would be to bring in value in linqdataource1. However the organization name column is not part of the table that I want to update in the sql server 2008 r2 database. I am thinking linqdataource1 should only be the table I want updated from this particular webpage correct? 2. This is a data entry application and the user enters the organization name on the first webpage. The user clicks the next button from the first page and now we are on the second data entry page. I have the organization name available on the second page as a session varirable obtained from the first page

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Please use the correct tags (<pre></pre>) around your code; I don't understand why you think [^] is correct?

      Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

      M 1 Reply Last reply
      0
      • L Lost User

        Please use the correct tags (<pre></pre>) around your code; I don't understand why you think [^] is correct?

        Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

        M Offline
        M Offline
        Member 8217517
        wrote on last edited by
        #3

        I thought [^] as the samething as (

        ) to put around the code. In the future, I use will (

        ) to put around my code.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups