CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2003
    Posts
    18

    Unhappy combobox with database

    Hi

    I have a database which contains "ID" and "Name" as two elements. Now I want the combox to read the data from ID and as I select the different value from the combobox the data of "Name" will changing in a textbox.

    can anyone help me with this?

    Thank you very much.

  2. #2
    Join Date
    Feb 2003
    Location
    Seacoast New England
    Posts
    2

    Wink databinding

    You need to bind the controls to a dataset. This might help a little:

    if you have MSDN, or Visual Studio.NET

    ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbwlkwalkthroughdisplayingdatainwindowsformusingparameterizedquery.htm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured