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 select data from dataset in to single value control

How to select data from dataset in to single value control

Scheduled Pinned Locked Moved C#
tutorial
3 Posts 3 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.
  • S Offline
    S Offline
    shashank veerkar
    wrote on last edited by
    #1

    hi .. i hav an application , i want if i enter roll no in a textbox and then click button then corresponding name of that rollno will show in other textbox.. i want to do this using dataset when dataset is filled with table "stdrecord"..

    A V 2 Replies Last reply
    0
    • S shashank veerkar

      hi .. i hav an application , i want if i enter roll no in a textbox and then click button then corresponding name of that rollno will show in other textbox.. i want to do this using dataset when dataset is filled with table "stdrecord"..

      A Offline
      A Offline
      Ali Iqbal Khan
      wrote on last edited by
      #2

      What I understand is user can type some text in a text box and now on click of some button, same text should go in some other text box. Suppose Textbox1 is first textbox and Textbox2 is second, then on click of button, you only have to write this; Textbox2.text = Textbox1.text; Thats it!!! and in which context are you talking about dataset... please elaborate... Ali http://aliwritings.blogspot.com/

      1 Reply Last reply
      0
      • S shashank veerkar

        hi .. i hav an application , i want if i enter roll no in a textbox and then click button then corresponding name of that rollno will show in other textbox.. i want to do this using dataset when dataset is filled with table "stdrecord"..

        V Offline
        V Offline
        Vinayaka Krishna Shenoy
        wrote on last edited by
        #3

        Hi, so if that was the case ..initially fill the dataset with the desired format ..like for the above case ..fill with number,name,.,,.etc etc and in textbox leave event handler write the code to traverse inside the dataset and if the match found for number get the corresponding name and fill the desired text box i hope u got!!! With Regards, Vinayaka Shenoy

        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