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

Discussion in 'ASP .Net' started by Rahul Chatterjee, Sep 24, 2008.

  1. 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
    Rahul Chatterjee, Sep 24, 2008
    #1
    1. Advertising

  2. ADO.NET (using VB.net)
    "Mark Rae [MVP]" <> wrote in message
    news:...
    > "Rahul Chatterjee" <> wrote in message
    > news:...
    >
    >> 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
    Rahul Chatterjee, Sep 25, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mhnazly
    Replies:
    1
    Views:
    665
    Mike Moore [MSFT]
    Oct 28, 2003
  2. JAPHET

    Help Assigning Label color from the table.

    JAPHET, Sep 30, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    126
    Alex Homer
    Sep 30, 2004
  3. ErwinP
    Replies:
    1
    Views:
    737
    ErwinP
    Aug 19, 2005
  4. weston
    Replies:
    1
    Views:
    248
    Richard Cornford
    Sep 22, 2006
  5. Knut Krueger
    Replies:
    8
    Views:
    265
    Knut Krueger
    Aug 20, 2013
Loading...

Share This Page