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. General Programming
  3. C#
  4. how to bind the result of the query to the textbox in c#

how to bind the result of the query to the textbox in c#

Scheduled Pinned Locked Moved C#
csharpdatabasehelptutorial
4 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.
  • A Offline
    A Offline
    Anjani Poornima
    wrote on last edited by
    #1

    hello, In my application i am having a textbox amount. I like to bind my textbox with the result of the query i.e. "select sum(amount) from tablename". how i can bind the result of the query to the textbox in windows application. plz,help me in doiing this... Thanks in advance

    J 1 Reply Last reply
    0
    • A Anjani Poornima

      hello, In my application i am having a textbox amount. I like to bind my textbox with the result of the query i.e. "select sum(amount) from tablename". how i can bind the result of the query to the textbox in windows application. plz,help me in doiing this... Thanks in advance

      J Offline
      J Offline
      Jeremy Likness
      wrote on last edited by
      #2

      Using Windows Forms controls: Beginning C# - Chapter 13: Using Windows Form Controls[^]

      Jeremy Likness Latest Article: Whats in Your Collection? Part 1 of 3: Interfaces Blog: C#er : IMage

      A 2 Replies Last reply
      0
      • J Jeremy Likness

        Using Windows Forms controls: Beginning C# - Chapter 13: Using Windows Form Controls[^]

        Jeremy Likness Latest Article: Whats in Your Collection? Part 1 of 3: Interfaces Blog: C#er : IMage

        A Offline
        A Offline
        Anjani Poornima
        wrote on last edited by
        #3

        Sir, i like to know how to bind the query to the textbox. plz send me any link regarding this.

        1 Reply Last reply
        0
        • J Jeremy Likness

          Using Windows Forms controls: Beginning C# - Chapter 13: Using Windows Form Controls[^]

          Jeremy Likness Latest Article: Whats in Your Collection? Part 1 of 3: Interfaces Blog: C#er : IMage

          A Offline
          A Offline
          Anjani Poornima
          wrote on last edited by
          #4

          Thank you for sending the link which helps for getting the basics on windows application. and more over i got solution to my query also. textbox1.Text=command.executescalr().tostring() :)

          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