Home > Net >  C # winform combobox dropdown has "please select" but when I add data into the database wi
C # winform combobox dropdown has "please select" but when I add data into the database wi

Time:09-22






Help!!!!! Have who can teach me how to define don't add "select" to database, tried to string FZR.=cbox_fzr SelectedItem. ToString (); This also not line, selectvalue tried

CodePudding user response:

Assess the cbox_fzr. Text=="please select" when corresponding field directly buy just a matter of being empty

CodePudding user response:

The simplest is 1st floor,
For a long time not write winform,

CodePudding user response:

reference 1st floor OrdinaryCoder response:
decide cbox_fzr. Text=="select" the corresponding field empty directly is just a matter of

Can you teach me the specific code

CodePudding user response:

The STR string inside can go to see the changes
  •  Tags:  
  • C#
  • Related