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
T

tizziCerutti

@tizziCerutti
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C# Fill comboBox with DB content
    T tizziCerutti

    Thanks BobJanova. Thanks Everyone...

    C# csharp android database tutorial

  • C# Fill comboBox with DB content
    T tizziCerutti

    I want to Bind two Columns and populate a ComboBox with it in C#..My code is printing just one. the FirstName. Have tried concatenating the LastName with it but its not working. Can anyone show me how to go about it. Here is my code. Thanks

    OleDbCommand cmd = new OleDbCommand("SELECT * FROM ADb", myCon);
    OleDbDataAdapter d = new OleDbDataAdapter(cmd);
    d.SelectCommand.CommandText = cmd.CommandText.ToString();

            DataTable dt = new DataTable();
            d.Fill(dt);
            cmbNames.DataSource = dt;
            cmbNames.DisplayMember = "FirstName";
    
    C# csharp android database tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups