assigning a value to a textbox/label control in ASP.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rahul Chatterjee

    assigning a value to a textbox/label control in ASP.NET

    I have a stored procedure which does a simple select * from MemberTable.
    This returns first name and last name.

    I want to assign this value to a label control in asp.net and display on
    screen. I am a newbie to ASP.net

    Can anyone please explain the sql querying and assignment portion of this
    task

    Thanks


  • Mark Rae [MVP]

    #2
    Re: assigning a value to a textbox/label control in ASP.NET

    "Rahul Chatterjee" <rahul@benesysi nc.comwrote in message
    news:O4cV7yoHJH A.4232@TK2MSFTN GP03.phx.gbl...
    I have a stored procedure which does a simple select * from MemberTable.
    This returns first name and last name.
    >
    I want to assign this value to a label control in asp.net and display on
    screen. I am a newbie to ASP.net
    >
    Can anyone please explain the sql querying and assignment portion of this
    task
    What method(s) are you using to interface with the database...?


    --
    Mark Rae
    ASP.NET MVP


    Comment

    • Rahul Chatterjee

      #3
      Re: assigning a value to a textbox/label control in ASP.NET

      ADO.NET (using VB.net)
      "Mark Rae [MVP]" <mark@markNOSPA Mrae.netwrote in message
      news:eCspWUpHJH A.3884@TK2MSFTN GP02.phx.gbl...
      "Rahul Chatterjee" <rahul@benesysi nc.comwrote in message
      news:O4cV7yoHJH A.4232@TK2MSFTN GP03.phx.gbl...
      >
      >I have a stored procedure which does a simple select * from MemberTable.
      >This returns first name and last name.
      >>
      >I want to assign this value to a label control in asp.net and display on
      >screen. I am a newbie to ASP.net
      >>
      >Can anyone please explain the sql querying and assignment portion of this
      >task
      >
      What method(s) are you using to interface with the database...?
      >
      >
      --
      Mark Rae
      ASP.NET MVP
      http://www.markrae.net

      Comment

      • Mark Rae [MVP]

        #4
        Re: assigning a value to a textbox/label control in ASP.NET

        "Rahul Chatterjee" <rahul@benesysi nc.comwrote in message
        news:Od%23LWMrH JHA.3884@TK2MSF TNGP02.phx.gbl. ..

        [please don't top-post]
        >>I have a stored procedure which does a simple select * from MemberTable.
        >>This returns first name and last name.
        >>>
        >>I want to assign this value to a label control in asp.net and display on
        >>screen. I am a newbie to ASP.net
        >>>
        >>Can anyone please explain the sql querying and assignment portion of
        >>this task
        >>
        >What method(s) are you using to interface with the database...?
        >
        ADO.NET (using VB.net)
        And what database is it...?


        --
        Mark Rae
        ASP.NET MVP


        Comment

        Working...