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
J

JeffPClark

@JeffPClark
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • passing data
    J JeffPClark

    Just have the MultiplesFound form expose a public property indicating the row that was selected by the user. if (ds.Tables[0].Rows.Count > 0) { //Used if there is only one Row returned. int SelectedRow = 0; if (ds.Tables[0].Rows.Count > 1) { cardNumber = txtCardNumber.Text; MultiplesFound myMF = new MultiplesFound(cardNumber); myMF.myCardNumber = cardNumber; myMF.ShowDialog(); //Retrieve the row selection SelectedRow = myMF.SelectedRow; } //Display the selected Row (or first row when only one has been returned txtProductCode.DataBindings.Add("text", ds.Tables[SelectedRow], "prod_code"); txtDescription.DataBindings.Add("text", ds.Tables[SelectedRow], "prod_desc"); txtModelNumber.DataBindings.Add("text", ds.Tables[SelectedRow], "model_no"); }

    Jeff Clark Systems Architect JP Clark, INC. Columbus, Ohio

    C# csharp database help question

  • A simple one...
    J JeffPClark

    Or just: return x;

    Jeff Clark Systems Architect JP Clark, INC. Columbus, Ohio

    The Weird and The Wonderful c++

  • How to use ShowDialog in the click event of menu item
    J JeffPClark

    Try: Form.ShowDialog(this); This will create a modal dialog form on top of the main form.

    Jeff Clark Systems Architect JP Clark, INC. Columbus, Ohio

    C# tutorial

  • A simple one...
    J JeffPClark

    Something similar: if (x == false) { return false; } else { return true; }

    Jeff Clark Systems Architect JP Clark, INC. Columbus, Ohio

    The Weird and The Wonderful c++
  • Login

  • Don't have an account? Register

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